Redirect to new login LoginPage

Continuing Why am I getting this 404 error?

I find it strange that after I click on the link to the AdminLogin page, it will direct me to the login page (in my case, the AdminLogin and Login pages are different). The url later becomes http://localhost:1390/Account/Login?ReturnUrl=%2fAccount%2fAdminLogin

I thought it must be http://localhost:1390/Account/AdminLogin

+3


source to share


1 answer


If your AdminLogin action method is "closed" with the [Authorize] attribute, the user will not be able to log in.



Make this method of action available to any user.

+1


source







All Articles