|
@@ -39,6 +39,37 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
|
|
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.
|
|
|
*
|