self-service access for contacts, RT#25533
[freeside.git] / fs_selfservice / FS-SelfService / cgi / do_process_forgot_password.html
diff --git a/fs_selfservice/FS-SelfService/cgi/do_process_forgot_password.html b/fs_selfservice/FS-SelfService/cgi/do_process_forgot_password.html
new file mode 100644 (file)
index 0000000..9274f92
--- /dev/null
@@ -0,0 +1,18 @@
+<HTML>
+  <HEAD>
+    <TITLE>Reset password</TITLE>
+    <%= $head %>
+  </HEAD>
+  <BODY BGCOLOR="<%= $body_bgcolor || '#eeeeee' %>">
+  <%= $body_header %>
+
+<FONT SIZE=5>Reset password</FONT><BR><BR>
+<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
+
+<%= if (!$error) {
+  $self_url =~ s/\?.*//;
+  $OUT .= "Your password has been changed.  You can now <A HREF=\"$self_url\">log in</A>.";
+  }
+%>
+
+<%= $body_footer %>