Allow pages to be renamed fully. If the different title would cause
[cocanwiki.git] / scripts / change_password.ml
index 531e2e6..fcb561f 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: change_password.ml,v 1.2 2004/10/14 15:57:15 rich Exp $
+ * $Id: change_password.ml,v 1.3 2004/10/30 10:16:09 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
@@ -34,7 +34,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ user =
   let userid =
     match user with
        Anonymous -> assert false (* cannot happen *)
-      | User (userid, _, _) -> userid in
+      | User (userid, _, _, _) -> userid in
 
   let sth = dbh#prepare_cached "select 1 from users
                                  where hostid = ? and id = ?