I have locked my admin user and I can't get into the UI to update anything. I have access to the database and was hoping to be able to update a flag there to unlock my admin user. The error that I get when I try to log in is this:
"Cannot validate member admin because they are currently locked out"
I've traced it to the web membership provider but I have no idea what to do from there. Any help is appreciated.
Thank you for your quick reply. I did as you suggested and increased the MaxPasswordAttempts in my web.config and I currently have passwordFormat="clear"
I seem to still be getting this error:
2014-08-04 11:17:26,940 [55] INFO Umbraco.Web.Security.Providers.UmbracoMembershipProvider`2[[Umbraco.Core.Services.IMembershipUserService, Umbraco.Core, Version=1.0.5261.28127, Culture=neutral, PublicKeyToken=null],[Umbraco.Core.Models.Membership.IUser, Umbraco.Core, Version=1.0.5261.28127, Culture=neutral, PublicKeyToken=null]] - [Thread 18] Can not validate member admin because they are currently locked out
I got the same problem. It's due to multiple password errors and I think in my case it's also coming from the fact that I switched network many times (different IPs)
It could be confusing also because the first error you got is a JS error:
Failed to load resource: the server responded with a status of 400 (Bad Request)
Then you check the log file and you see :
INFO Umbraco.Core.Security.BackOfficeSignInManager - Event Id: 0, state: Login attempt failed for username admin from IP address ::1, the user is locked
Solution is to:
change the "userNoConsole" field to false for your user in the
"umbracoUser" database
"Touch" your web.config (add a space and save it) or restart appPool
Unlock a user
Hi there,
I have locked my admin user and I can't get into the UI to update anything. I have access to the database and was hoping to be able to update a flag there to unlock my admin user. The error that I get when I try to log in is this:
"Cannot validate member admin because they are currently locked out"
I've traced it to the web membership provider but I have no idea what to do from there. Any help is appreciated.
Thanks
You should update the
userNoConsole
field in theUmbracoUser
to be false or 0.http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/50407-Login-failed-for-user-in-Umbraco-7?p=1#comment189379
Thank you for your quick reply. I did as you suggested and increased the MaxPasswordAttempts in my web.config and I currently have passwordFormat="clear"
I seem to still be getting this error:
2014-08-04 11:17:26,940 [55] INFO Umbraco.Web.Security.Providers.UmbracoMembershipProvider`2[[Umbraco.Core.Services.IMembershipUserService, Umbraco.Core, Version=1.0.5261.28127, Culture=neutral, PublicKeyToken=null],[Umbraco.Core.Models.Membership.IUser, Umbraco.Core, Version=1.0.5261.28127, Culture=neutral, PublicKeyToken=null]] - [Thread 18] Can not validate member admin because they are currently locked out
This is the admin row in the database:
Hi Nik,
I had a same situation. I tried to restart application by chanigng in web.config and then tried to login. It worked for me!!
Thanks,
Dhiren
where to change in the web.config? Khan
I got the same problem. It's due to multiple password errors and I think in my case it's also coming from the fact that I switched network many times (different IPs)
It could be confusing also because the first error you got is a JS error:
Then you check the log file and you see :
Solution is to:
is working on a reply...