aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/forms/user/passwordreset.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/views/default/forms/user/passwordreset.php b/views/default/forms/user/passwordreset.php
index 7b13f120c..3c89776f6 100644
--- a/views/default/forms/user/passwordreset.php
+++ b/views/default/forms/user/passwordreset.php
@@ -1,19 +1,20 @@
<?php
+/**
+ * Reset user password form
+ */
-$user = $vars['user'];
-
-echo elgg_echo('user:resetpassword:reset_password_confirm') . "<br />";
+echo autop(elgg_echo('user:resetpassword:reset_password_confirm'));
echo elgg_view('input/hidden', array(
'name' => 'u',
- 'value' => $user->guid
+ 'value' => $vars['guid'],
));
echo elgg_view('input/hidden', array(
'name' => 'c',
- 'value' => $code
+ 'value' => $vars['code'],
));
echo elgg_view('input/submit', array(
'value' => elgg_echo('resetpassword')
-)); \ No newline at end of file
+));