Merge branch 'master' into develop
This commit is contained in:
@@ -39,6 +39,37 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
|||||||
return $this->password;
|
return $this->password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the token value for the "remember me" session.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getRememberToken()
|
||||||
|
{
|
||||||
|
return $this->remember_token;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the token value for the "remember me" session.
|
||||||
|
*
|
||||||
|
* @param string $value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setRememberToken($value)
|
||||||
|
{
|
||||||
|
$this->remember_token = $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the column name for the "remember me" token.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getRememberTokenName()
|
||||||
|
{
|
||||||
|
return 'remember_token';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the e-mail address where password reminders are sent.
|
* Get the e-mail address where password reminders are sent.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user