X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fforgot_password.ml;h=88a4833cd4923d99f786155aa29a18f4e9482719;hb=295f2cde3f43ccf7f775d39b95925e10aa4c37cb;hp=20608b77f046cd88dca55ddad612a6f5986f7d2f;hpb=fed8bae623ae58ec83206e53be5eb7ed119ce875;p=cocanwiki.git diff --git a/scripts/forgot_password.ml b/scripts/forgot_password.ml index 20608b7..88a4833 100644 --- a/scripts/forgot_password.ml +++ b/scripts/forgot_password.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: forgot_password.ml,v 1.6 2004/10/09 12:20:57 rich Exp $ + * $Id: forgot_password.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 @@ -65,7 +65,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ = "\n" ^ "IP address of request: " ^ ip ^ "\n" in - Sendmail.send_mail ~subject ~to_addr:[ email ] ~body (); + Sendmail.send_mail ~subject ~to_addr:[ email ] body; let buttons = [ ok_button "/_login" ] in ok ~buttons ~title:"Password sent by email"