Create account, forgotten password.
[cocanwiki.git] / scripts / forgot_password_form.ml
1 (* COCANWIKI scripts.
2  * Written by Richard W.M. Jones <rich@merjis.com>.
3  * Copyright (C) 2004 Merjis Ltd.
4  * $Id: forgot_password_form.ml,v 1.1 2004/09/07 17:16:46 rich Exp $
5  *)
6
7 open Apache
8 open Registry
9 open Cgi
10 open Printf
11
12 open Cocanwiki
13 open Cocanwiki_template
14
15 let template = get_template "forgot_password_form.html"
16
17 let run r (q : cgi) (dbh : Dbi.connection) (hostid, _, _) _ =
18   q#template template
19
20 let () =
21   register_script run