summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-09 02:16:49 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-09 02:16:49 -0800
commit55d42ec9da0952361687257588788100a270ac9e (patch)
tree71cea3cf58aca644da73a2bf8e87775ef742303a /modules/user
parent55d1ce7fb7c3872295c1e7dbab41de94dd7e06d8 (diff)
Fix password reset confirmation
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/controllers/password.php2
-rw-r--r--modules/user/views/confirm_reset_password.html.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/user/controllers/password.php b/modules/user/controllers/password.php
index 8309d2cc..07fdc1ed 100644
--- a/modules/user/controllers/password.php
+++ b/modules/user/controllers/password.php
@@ -110,7 +110,7 @@ class Password_Controller extends Controller {
"mistyped", t("The password and the confirm password must match"));
$group->submit("")->value(t("Update"));
- $template->content = new View("user_form.html");
+ $template->content = new View("confirm_reset_password.html");
$template->content->form = $form;
return $template;
}
diff --git a/modules/user/views/confirm_reset_password.html.php b/modules/user/views/confirm_reset_password.html.php
new file mode 100644
index 00000000..4993189e
--- /dev/null
+++ b/modules/user/views/confirm_reset_password.html.php
@@ -0,0 +1,2 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?= $form ?> \ No newline at end of file