'ASP.NET Core MVC : automatically assigning role on registration page
I have enabled ASP.NET Core roles in my MVC application, and I have implemented role-based authorization. For full tutorial and source code please click here.
How do I create custom field on the registration page?
Custom field should be something like:
Enter your organization code: G2183
So if the user enters "G2183" on registration page it will assign let's say "Google Role"?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
