阅读背景:

Asp.net核心,当用户尝试访问管理区域时,重定向到管理员登录页面

来源:互联网 

How can I ensure that when users enter localhost/Admin they are redirected to Admin/Account/Login instead of Account/Login using Asp.net core identity? I am using default template for authorization in asp.net core. Then I want to make sure that only users with role Administrator can login from there. How can I do that?How can I ensure that when users enter localhos




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: