문제

I am using the create user wizard in asp.net from the admin privileges. i.e only admin can create a user.

I am creating a new user with a role assigned to it.

As soon as the user is created , it is automatically logged in with always 'admin' as the role (first in the option of dropdownlist of role) inspite of whatever other role i select.

I do not want the newly created user to be logged in automatically.

How to do it.??

도움이 되었습니까?

해결책

You should set LoginCreatedUser to false to disable auto-login.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top