Hi guys, I've tried to find information about this but having trouble. I have a section on the website I'm building that is locked down to authenticated members using the standard umbraco membership providor. I am using an asp.net login control for the login form and I need 2 things.
A member being locked out of a specific number of failed login attempts
The ability to unlock them in the cms admin after.
I have looked at the UmbracoMembershipProvider properties and imagined that using the umbracoLockPropertyTypeAlias and the umbracoFailedPasswordAttemptsPropertyTypeAlias provider setting would be around the way it's done.
Can someone help explain exactly what is needed to be done and if I need to custom handle the login instead of allowing the login control to lock after x attempts.
No but we did our own solution. In our solution we added a true/false property name active and a loginAttempts property as a label to the members properties. Then during the login code the loginAttempts was incremented if login failed and if it hit the threshold the active property was set to false. This was also checked on the login code to make sure people could login, this allowed admin users to reset any member in the CMS as well.
Member locking and unlocking
Hi guys, I've tried to find information about this but having trouble. I have a section on the website I'm building that is locked down to authenticated members using the standard umbraco membership providor. I am using an asp.net login control for the login form and I need 2 things.
Hi scott,
Did you have any luck with the second part?
Matt
No but we did our own solution. In our solution we added a true/false property name active and a loginAttempts property as a label to the members properties. Then during the login code the loginAttempts was incremented if login failed and if it hit the threshold the active property was set to false. This was also checked on the login code to make sure people could login, this allowed admin users to reset any member in the CMS as well.
Thanks Scott.
is working on a reply...