简体   繁体   中英

Play! Authenticate verification email

I have been working through the play authentication usage getting started guide:

https://github.com/joscha/play-authenticate/blob/master/samples/java/Getting%20Started.md

I have got to the stage where users can login with a gmail or openID account or they can create a new account. Is there a way I can modify the text of the verification email that is sent to users?

Of course, modifying templates and emails is one of the key points of the PA, check templates in:

https://github.com/joscha/play-authenticate/tree/master/samples/java/play-authenticate-usage/app/views/account/email

hint: Turn on smtp.mock in your config, so you won't need to spam your mail for tests, just in application.conf , place somewhere at the end the line (don't forget to remove it for the production):

smtp.mock=true

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM