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

Problem in return getIdentity( ) #5

Open
weierophinney opened this issue Dec 31, 2019 · 2 comments
Open

Problem in return getIdentity( ) #5

weierophinney opened this issue Dec 31, 2019 · 2 comments

Comments

@weierophinney
Copy link
Contributor

In Resource I use the method $this->getIdentity() to indetificar the user, but it is returning null in this latest update.

class PedResource extends AbstractResourceListener
{
public function fetch($id)
{
$user = $this->getIdentity(); //return null
.
.
.
}
}


Originally posted by @marcoscg at zfcampus/zf-mvc-auth#122

@weierophinney
Copy link
Contributor Author

I think it is because of #117, fixed in #120. Can you check please PR #120 and confirm if it works with your code?


Originally posted by @michalbundyra at zfcampus/zf-mvc-auth#122 (comment)

@weierophinney
Copy link
Contributor Author

It worked!


Originally posted by @marcoscg at zfcampus/zf-mvc-auth#122 (comment)

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

No branches or pull requests

1 participant