adding identity to asp.net
I am working on an MVC project with ASP.NET. This is my first project. I have designed pages specifically for the admin user, and I want only the admin user to have access to these pages.
An unhandled exception occurred while processing the request. NullReferenceException
An unhandled exception occurred while processing the request.
NullReferenceException: Object reference not set to an instance of an object.
AspNetCoreGeneratedDocument.Areas_Identity_Views_Account_SendCode.ExecuteAsync()
How to have external logins in ASP.NET MVC not need email confirmation, but still keep normal registration need one?
I have an ASP.NET MVC app with identity and I have Google and Facebook external logins which work as intended with email confirmation. But if I have it set to no email confirmation, then it just doesn’t need email confirmation for the normal registration either. What is the approach?