MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Renaming admin account  (Mono Support )

Viewed 31682 time(s), 4 post(s) 12/12/2012 8:41:59 PMby Zoomicon

Related topics

Zoomicon

Zoomicon

12/12/2012 8:45:55 PM
after one uses admin console to rename the admin user they're logged in with, they start getting security errors (say if they then press Add user to add another user) till they log out and log in again with the new username for the admin
This content has not been rated yet. 
2793 Reputation 345 Total posts
khorvat

khorvat

12/17/2012 8:14:20 AM
This is ASP.NET built-in functionality, as MonoX is using ASP.NET Forms authentication by default you get the Session Id saved in the cookie, so after you change the username for admin that Session Id can't be validated anymore and that is the reason you get the security exception.

Regards   
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Zoomicon

Zoomicon

12/17/2012 2:31:19 PM
Why should the admin experience such a behaviour though? It should show a prompt to the admin that since they renamed the account they're currently logged in with, they will be immediately logged out and they should log in again with the new account name or other admin account. Pressing OK would log them out
This content has not been rated yet. 
2793 Reputation 345 Total posts
Zoomicon

Zoomicon

12/17/2012 2:33:32 PM
A related issue is when admin is in the admin console, then logs out, then logs in as a user to try the site and they get errors about illegal access etc.
</br>
</br>When user logs in with non-admin account and the login screen sees that it is supposed to take them to admin console they could be redirected to the home page instead.
This content has not been rated yet. 
2793 Reputation 345 Total posts