Password reset emails not sent for unconfirmed users #25604
Unanswered
SoftCircuits
asked this question in
General
Replies: 1 comment 5 replies
-
This is by design, otherwise it could be abused by spam. Override the registration scaffolding, and set the email to confirmed yourself. Remember the identity UI is opinionated. If you disagree with its opinions then you override it and change it. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've built a new website using ASP.NET Core 3.1. I set it up to use standard Identity for individual accounts. But when I tried the Reset Password command, no email was sent.
There is no warning, error or alert. And I cannot debug it without bring a lot of Identity scaffolding into my project. All that happens is I never get the email.
The issues appears to be that no email is sent when the user account's
EmailConfirmed
column is set to false. The email is sent when I set this column to true.My website does not contain secure data and does not require user accounts to be confirmed. In this case, a developer could waste a lot of time trying to troubleshoot this issue.
I don't agree with this behavior. I can understand if the account is not in the database, but if the email is not genuine then the person causing trouble will not receive the email.
But as long as it behaves like this, there should be some indication to the developer that this is by design. And for that matter, what is the correct way to fix it once the issue has been uncovered? I do not need users to confirm their emails.
Beta Was this translation helpful? Give feedback.
All reactions