Mono Support Renaming admin account 

Viewed 34029 time(s), 4 post(s), 12/12/2012 8:41:59 PM - by Zoomicon
12/12/2012 8:45:55 PM
2793 Reputation 345 Total posts

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

1
12/17/2012 8:14:20 AM
15993 Reputation 2214 Total posts

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   

2
12/17/2012 2:31:19 PM
2793 Reputation 345 Total posts

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

3
12/17/2012 2:33:32 PM
2793 Reputation 345 Total posts

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.

4
This is a demo site for MonoX. Please visit Mono Software for more info.