summaryrefslogtreecommitdiff
path: root/app/Controller/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/User.php')
-rw-r--r--app/Controller/User.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Controller/User.php b/app/Controller/User.php
index 8b6df44c..2a811219 100644
--- a/app/Controller/User.php
+++ b/app/Controller/User.php
@@ -173,6 +173,20 @@ class User extends Base
}
/**
+ * Display last password reset
+ *
+ * @access public
+ */
+ public function passwordReset()
+ {
+ $user = $this->getUser();
+ $this->response->html($this->layout('user/password_reset', array(
+ 'tokens' => $this->passwordReset->getAll($user['id']),
+ 'user' => $user,
+ )));
+ }
+
+ /**
* Display last connections
*
* @access public