2014-05-19 15:10:05,180 [16] INFO Umbraco.Web.Security.Providers.UmbracoMembershipProvider`2[[Umbraco.Core.Services.IMembershipUserService, Umbraco.Core, Version=1.0.5250.13487, Culture=neutral, PublicKeyToken=null],[Umbraco.Core.Models.Membership.IUser, Umbraco.Core, Version=1.0.5250.13487, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Cannot validate member [email protected] because they are currently locked out
Strange..I have Umbraco 7.1.3 myself and never seen this behavior before. The user and member table don't have column indication that a user is locked out.
Hi Guys,
I have exactly the same issue. The front end of the site works fine, but logging in doesn't work the usernoconsole is 0 and the userDisabled is 0
It has only happened after trying to install ninject. The ninject portion of things works perfectly well but seems to break the login.. just wondering if anyone has come across this before? some people must need to use DI with their umbraco setup?
Umbraco has a separate Username (Login Name) and email for a user, so when creating a user it's easy to mistake by taping person real name into Login Name, but then try to login using email (as we all used since WEB 2.0).
After changing Username from real name to email everything worked correctly.
Login Umbraco7
HI
I have a install Umbraco7.1.3
I have used it for a cuppels of days, and suddenly i cant login anymore.
I have tryed from Chrome, Firefox and internet explorer, same result.
I get theis error form the console in Chrome
Failed to load resource: the server responded with a status of 400 (Bad Request)
http://localhost:53582/umbraco/backoffice/UmbracoApi/Authentication/PostLogin
Hi again
Here is some more information.
What did you change in your application. Did you perhaps used dependency injection ?
Hi Dave, Just wondering if you have experience with this using Dependency Injection and how you worked around it?
Hi
No it is a clean install, with a few ducumentstyps, and a few nodes, and teacommerce, import, and a few othere pacakages.
I did not do any thing, it logs out automaticly, and then i cant log in again.
René
I see you are running IIS express. Do you also have this issue when running on IIS ?
Hi
Sorry to ask.. i have always run on iisexpress, or i have never given this a thought. Where do i change this?
I actually checked. I have some "demo" sites running on iisexpress as wel and I am not facing this issue.
Have you checked the log files ?
Hi
Here are the info from the log
2014-05-19 15:10:05,180 [16] INFO Umbraco.Web.Security.Providers.UmbracoMembershipProvider`2[[Umbraco.Core.Services.IMembershipUserService, Umbraco.Core, Version=1.0.5250.13487, Culture=neutral, PublicKeyToken=null],[Umbraco.Core.Models.Membership.IUser, Umbraco.Core, Version=1.0.5250.13487, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Cannot validate member [email protected] because they are currently locked outRené
Looking at the log it seems your account is locked out.
Dave
Have you tried logging in with your e-mail instead of your username?
HI
This part does not give any meaning Cannot validate member [email protected] because they are currently locked out
Yes i´m locked out, but this is the problem :-)
I was logged in, and was away from my computer for about a half an hour. Umbraco logs automaticly out w session run out.
René
I use my email
Strange..I have Umbraco 7.1.3 myself and never seen this behavior before. The user and member table don't have column indication that a user is locked out.
Dave
Maybe a stupid idea..but have you tried using another browser..or clear your cookies ?
Dave
HI
I have tryied Internet exploerer, firefox, opera and chrome - same result
Or go in to the database and look in the umbracoUser table. Maybe for some reason your user got disabled.
Dave
HI
From the db:
UserDisabled = False
If i see in the umbracoUserLogins table
There is no user, it is empty
René
Can you check the UserNoConsole field in the DB.
UserNoConsole = True
Where does it get the information from that i´m logged out?
If you change that to false you will be able to login in again.
Jupiiii - i´m back in business
I had to touch the web.config file before i could login
Tanks a lot
Is this some kind of bug.
René
Doesn't seem to be a bug.
If you look at the code for the membership it will lock out a an account after x number of failed logins :
https://github.com/umbraco/Umbraco-CMS/blob/7.1.3/src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs (starting line 518)
Dave
This does give some kind of meaning, but i´m sure i did not spell either the password or username wrong.
I expirenced this saturday too, and i thought, i just forgot the password, because i used a new one, instead of the usual one for testing.
So now im 100% sure i did not type it wrong, and i had the browser remember the username and password.
So maybe there is some kind off a bug.
Now im going to make 2 admin acounts, just to be sure.
Have a nice monday
René
Glad it's sorted out
Hii Rene,
I am also facing the same problem you had once(login failed)..
what have you done with web.config file to get access to your account!?
Ravindra
Hiiii,
I am using Umbraco 7.1.4 how to find the related database files in sql server!
Hiiii,
I am using Umbraco 7.1.4 how to find the related database files in sql server!
Ravindra
HI
In the db, find the table umbracoUser, there you can find the "userNoConsole" and set false
René
Hii...
thanks for Your response Rene..
during the instalation it didn't ask me about database....i am using Umbraco 7.1.4 before that i installed Umbraco6.1.0..
now i can find tables related to umbraco6.1.0 but not to umbraco 7.1.4
Ravindra
Hiii.
Finally its working !
Ravindra
Thank u very much Rene!
Ravindra
Hi
So just for future reference to fix this locking of the back end login.
1) update the value for the problem user in the db userNoConsole=false
2) edit the web.config (just add a space or something) so the caching recycles.
and back to the developing...
D
Hi Guys, I have exactly the same issue. The front end of the site works fine, but logging in doesn't work the usernoconsole is 0 and the userDisabled is 0
It has only happened after trying to install ninject. The ninject portion of things works perfectly well but seems to break the login.. just wondering if anyone has come across this before? some people must need to use DI with their umbraco setup?
Had very close issue:
Umbraco has a separate Username (Login Name) and email for a user, so when creating a user it's easy to mistake by taping person real name into Login Name, but then try to login using email (as we all used since WEB 2.0).
After changing Username from real name to email everything worked correctly.
is working on a reply...