Change subject line so it shows the name of the site.
[cocanwiki.git] / scripts / login.ml
index 70727c5..1132798 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: login.ml,v 1.10 2006/03/28 13:20:00 rich Exp $
+ * $Id: login.ml,v 1.11 2006/03/28 16:24:07 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
@@ -45,7 +45,8 @@ let run r (q : cgi) dbh hostid _ _ =
        error
          ~title:"Bad name or password"
          ~back_button:true
-         dbh hostid q "The name or password was wrong."
+         dbh hostid q "The name or password was wrong.";
+       return ()
     | [ row ] -> row
     | _ -> assert false in