joscha / play-authenticate

An authentication plugin for Play Framework 2.x (Java)
http://joscha.github.com/play-authenticate/
Other
807 stars 366 forks source link

Cannot validate the email #162

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi, I'm trying sign up a new user, and then validate the received email. But I always get NPE:

[NullPointerException: null] In path/app/controllers/Signup.java at line 216.

216 final String email = ta.targetUser.email;

217 User.verify(ta.targetUser);

218 flash(Application.FLASH_MESSAGE_KEY,

219 Messages.get("playauthenticate.verify_email.success", email));

Do you have any idea?

ghost commented 10 years ago

and where can I change the lifetime of the email? (to the link change to invalid)

ghost commented 10 years ago

??