From 497549300ce8231f5b25c93a4f95aeb35baad027 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 13 May 2015 13:43:16 +0200 Subject: Password reminders start --- src/CamilStaps/BotleaguesApi/User.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/CamilStaps/BotleaguesApi/User.php') diff --git a/src/CamilStaps/BotleaguesApi/User.php b/src/CamilStaps/BotleaguesApi/User.php index 220db36..560f737 100644 --- a/src/CamilStaps/BotleaguesApi/User.php +++ b/src/CamilStaps/BotleaguesApi/User.php @@ -1,10 +1,11 @@ email; + return $this->getKey(); } /** @@ -33,7 +34,7 @@ class User extends Model implements UserInterface { * @return string */ public function getAuthPassword() { - return null; + return $this->password; } /** @@ -63,4 +64,13 @@ class User extends Model implements UserInterface { public function getRememberTokenName() { return null; } + + /** + * Get the e-mail address where password reminders are sent. + * + * @return string + */ + public function getReminderEmail() { + return $this->email; + } } \ No newline at end of file -- cgit v1.2.3