Skip to content

Is there anyway to make Email ID optional and use Mobile Number instead in user store? #9377

Answered by realLiangshiwei
gunpal5 asked this question in Q&A
Discussion options

You must be logged in to vote

Try:

Configure<IdentityOptions>(options=>
{
    options.User.RequireUniqueEmail = false;
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gunpal5
Comment options

Answer selected by maliming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants