phoenixframework / phoenix

Peace of mind from prototype to production
https://www.phoenixframework.org
MIT License
21.45k stars 2.88k forks source link

Auth links consistency on email confirmation pages. #5961

Closed ShPakvel closed 1 week ago

ShPakvel commented 3 weeks ago

Email confirmation pages can be open by logged in user. In such case we have following inconsistency.

This change fixing inconsistency by presenting links below confirmation form only if user is not logged in. Note: I used if !condition because unless is going to be deprecated.

josevalim commented 1 week ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: