-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return error if userObject is not found #37
base: master
Are you sure you want to change the base?
Conversation
$this->setSatisfied(false); | ||
|
||
$e->setCode(AuthenticationResult::FAILURE) | ||
->setMessages(array('User not found.')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this the message needs to be an class constant as wel??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not in constants in the other cases, so it's not in the scope of this ticket to move it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed.
Let's merge this change
|
||
'factories' => array( | ||
'goaliorememberme_rememberme_service' => function ($sm) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the factories should move to separate file so we dion't break the caching of this.
Right now it results in a fatal error.