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

Null user passed to public F.Promise<PasswordInfo> doPasswordInfoFor(User user) #580

Open
MojoJojo opened this issue Feb 14, 2016 · 2 comments

Comments

@MojoJojo
Copy link

Hi,

I am implementing a user service for my application (play/java) and was able to implement the user service on my own. I am using version 3.0-M4. I noticed that on the route /auth/password, the below method is called, presumably to retrieve existing credentials?

public F.Promise<PasswordInfo> doPasswordInfoFor(User user)

However, the user that is being passed is always null. Not sure if this is a bug or something I'm missing? The samples say the functionality is missing - is it actually missing from the plugin or just from the samples? Any help would be greatly appreciated.

@jaliss
Copy link
Owner

jaliss commented Feb 22, 2016

Hi, did you work this out @MojoJojo. Let me know, if not I'll take a look.

@MojoJojo
Copy link
Author

I was ..sort of. I put in a check for NullUser and it seems to be working. Not sure why the method will be called for a null user though?

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

2 participants