Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Danielss89
Copy link
Collaborator

@Danielss89 Danielss89 commented Aug 6, 2016

Right now it results in a fatal error.

$this->setSatisfied(false);

$e->setCode(AuthenticationResult::FAILURE)
->setMessages(array('User not found.'));
Copy link

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??

Copy link
Collaborator Author

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 :)

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) {

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants