X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Flogin.ml;h=0d802ad1e0ceaa060d5e345dce3f2c3e56e8aa8e;hb=288535f82bf4a5d944536bd0790a54a5f8fb4363;hp=e316d64a82d4668e186f4bcdcf0d4fda55af8729;hpb=79f907772aef608a83338589f64c10a901889b5c;p=cocanwiki.git diff --git a/scripts/login.ml b/scripts/login.ml index e316d64..0d802ad 100644 --- a/scripts/login.ml +++ b/scripts/login.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: login.ml,v 1.4 2004/09/25 13:17:00 rich Exp $ + * $Id: login.ml,v 1.5 2004/10/14 15:57:15 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 @@ -67,7 +67,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ = Cookie.cookie ~name:"auth" ~value:cookie ~path:"/" () in ok ~title:"Logged in" ~buttons:[ok_button redirect] ~cookie - q ("Welcome back " ^ username ^ "." ^ + q ("Welcome " ^ username ^ "." ^ if force_password_change then " Please change your password now." else "") with