dotnet / dotnet/aspnetcore

Identity register sends an email even SignIn.RequireConfirmedEmail is false

Open
#49,914 2 comments 2 reactions 0 assignees View on GitHub
area-identity breaking-change bug
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

When `SignInOptions.RequireConfirmedEmail` is set to `false`, an email to confirm the register is sent to the user. This emai is not needed

### Expected Behavior

No email is sent when `SignInOptions.RequireConfirmedEmail` is set to `false`

### Steps To Reproduce

Set `SignInOptions.RequireConfirmedEmail` to `false` and register a new user

### Exceptions (if any)

_No response_

### .NET Version

7.0.306

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.