Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
Add getter for remember token field
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Shadman committed Feb 27, 2015
1 parent 21d471f commit cd5921e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/GenericUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ public function getAuthPassword()
return $this->attributes[$this->getConfig()['auth_password_field']];
}

/**
* Get remember token value
*
* @return string
*/
public function getRememberToken()
{

return $this->attributes[$this->getConfig()['auth_remember_token_field']];
}
}

0 comments on commit cd5921e

Please sign in to comment.