Commit af4381f7 authored by Taylor Otwell's avatar Taylor Otwell

implement remindable interface on default user.

parent 7e81f9de
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\RemindableInterface;
class User extends Eloquent implements UserInterface {
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
......@@ -38,4 +39,14 @@ class User extends Eloquent implements UserInterface {
return $this->password;
}
/**
* Get the e-mail address where password reminders are sent.
*
* @return string
*/
public function getReminderEmail()
{
return $this->email;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment