X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fsignup.ml;h=315c153caaa4a1e045a1d1fcf80b85356dec227c;hb=295f2cde3f43ccf7f775d39b95925e10aa4c37cb;hp=5e8fc5f9465bb6de525afcf4fb5a1cd547018f6e;hpb=fed8bae623ae58ec83206e53be5eb7ed119ce875;p=cocanwiki.git diff --git a/scripts/signup.ml b/scripts/signup.ml index 5e8fc5f..315c153 100644 --- a/scripts/signup.ml +++ b/scripts/signup.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: signup.ml,v 1.6 2004/09/23 11:56:47 rich Exp $ + * $Id: signup.ml,v 1.7 2005/03/31 14:24:04 rich Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -99,7 +99,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ = dbh#commit (); let buttons = [ ok_button "/" ] in - let cookie = Cookie.cookie ~name:"auth" ~value:cookie ~path:"/" () in + let cookie = Cookie.cookie "auth" cookie ~path:"/" in ok ~title:"Account created" ~buttons