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

Contribution of pgsql support for AuthenticatorStore and UserService - Compatible with Play! 2.1 version #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akinsella
Copy link

pgsql support for AuthenticatorStore provides persistent and clusterisable implementation.
Same for UserService. Pgsql support for UserService is based on Some(implementation) found on Play! mailing list, which was also submitted 3 month ago as a pull request.
SQL scripts are provided. Dependencies on anorm and jdbc are required.

@larvanitis
Copy link

I am giving this code a try and I noticed you have some unnecessary/duplicate imports.

Also on PgSqlUserService.scala, you should replace user.passwordInfo.get.password with user.passwordInfo.map(_.password).getOrElse(None) because many social services won't have one and you'll get a null pointer exception

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