bwrice
5 months ago
580
6
Laravel

Is there any security risk in showing the user's email in the verify view?

Posted 5 months ago by bwrice

When enabling email verification for users, I'm wondering if there's any reason not to show the user where the verification emails are being sent in the verify blade view? The reason I want to do this is incase the user mistyped their email address when registering, I want them to see that verification emails are being sent to a different/wrong email address and they can just re-register with the correct one.

Anyone see any security risk of doing so? Or any reason why Taylor chose not to show the user's email in the default verify.blade template?

Please sign in or create an account to participate in this conversation.