Skip to content

Commit

Permalink
[skip ci] Fix isValidUser declaration in guide (Auth Scaffolding)
Browse files Browse the repository at this point in the history
Fix #53
  • Loading branch information
jcheron committed Jun 30, 2019
1 parent 38f1432 commit 979b6a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/scaffolding/auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The generated controller:
* {@inheritDoc}
* @see \Ubiquity\controllers\auth\AuthController::isValidUser()
*/
public function _isValidUser() {
public function _isValidUser($action=null) {
return USession::exists($this->_getUserSessionKey());
}
Expand Down Expand Up @@ -112,7 +112,7 @@ BaseAuthController modification
* {@inheritDoc}
* @see \Ubiquity\controllers\auth\AuthController::isValidUser()
*/
public function _isValidUser() {
public function _isValidUser($action=null) {
return USession::exists($this->_getUserSessionKey());
}
Expand Down

0 comments on commit 979b6a7

Please sign in to comment.