Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed membership provider to correctly log failed attempts. #78

Merged
merged 1 commit into from
Aug 19, 2013
Merged

Fixed membership provider to correctly log failed attempts. #78

merged 1 commit into from
Aug 19, 2013

Conversation

dprothero
Copy link

I noticed the UmbracoMembershipProvider was not updating the failed login attempts even though I have these two attributes defined on the provider in web.config:

         umbracoLockPropertyTypeAlias="accountLocked" 
         umbracoFailedPasswordAttemptsPropertyTypeAlias="failedPasswordAttempts"

And those two properties exist on my default member type. In looking at the code, I believe it is missing a call to Save() after updating those properties.

@Shazwazza
Copy link
Contributor

Hi, thanks for looking in to this, i'll wait for Sebastian to review as well. In the mean time if this is related to or fixes any of these issues can you please update them ?

http://issues.umbraco.org/issue/U4-2124
http://issues.umbraco.org/issue/U4-2124
http://issues.umbraco.org/issue/U4-1983

@dprothero
Copy link
Author

Confirmed this is the fix for U4-2124. U4-1983 is not related.

@nul800sebastiaan
Copy link
Member

Thanks, looks good to me too!

nul800sebastiaan added a commit that referenced this pull request Aug 19, 2013
Fixed membership provider to correctly log failed attempts.
@nul800sebastiaan nul800sebastiaan merged commit 3029d97 into umbraco:6.1.4 Aug 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants