DNNCommunity / DNNCommunity/DNN.ActiveDirectory

AD provider + DNN provider + Email as username = Duplicate emails

Open
#19 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Visual Basic .NET
Stars
26
Forks
25
PR merge metrics
No merged PRs in 30d

Description

All my sites have "use email as username" option enabled. This requires emails to be unique, but AD authentication provider still allow to create user with email that already used by another user.

Generally this is not a problem, but it could lead to some unexpected behavior - e.g. after that I could not set default authentication provider via site settings - then I try to do so, it shows error message about duplicate emails and just does nothing.

I think it would be better if AD provider would check for duplicate email for newly created users if DNN provider and "use email as username" both enabled. In case duplicate found, email field could be set to blank and error message displayed/logged.

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.