Timeline for How can I set a custom URI for the confirmation link of account email update from a front-end form?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 15, 2018 at 9:02 | history | bounty ended | CommunityBot | ||
Aug 7, 2018 at 10:59 | comment | added | Robin Schambach | Why shouldn't you? But it would be way more cleaner to display a message depending on your session Flash rather than the url since a user would be able to see the message when he/she sends a link or reloads the page | |
Aug 7, 2018 at 10:58 | vote | accept | Romain P. | ||
Aug 7, 2018 at 10:55 | comment | added | Romain P. | To be more specific, I need to display a different alert message (by using a custom URI) on the landing page if the user has confirm his email after registration, and a different alert message (by using another custom URI) after the user has confirm his new email (after a profile update on front-end). So it matters to check the user status if it is a new user, or an already active user, to be able to adapt the confirm message of the alert. Do you think I would be able to do it by checking if STATUS_ACTIVE is true instead of STATUS_PENDING? | |
Aug 7, 2018 at 10:44 | comment | added | Robin Schambach | I would not check it at all and redirect the user wherever I like / wherever my clients wants them to redirect | |
Aug 7, 2018 at 9:08 | comment | added | Romain P. | Thank you for these clarifications Robin. How would you handle the fact that this action would be exclusively for an update of the email and not for the first validation of the email (which works fine natively)? By checking if the user's status is STATUS_ACTIVE instead of STATUS_PENDING? | |
Aug 7, 2018 at 8:22 | history | answered | Robin Schambach | CC BY-SA 4.0 |