Use default values for encrypt_password and verify_password

This commit is contained in:
Matt Wright
2012-08-20 17:44:20 -04:00
parent 3a07970216
commit fa4668aa3f
5 changed files with 12 additions and 14 deletions
+1 -3
View File
@@ -378,9 +378,7 @@ class AuthenticationProvider(object):
raise exceptions.ConfirmationError('Email requires confirmation.', user)
# compare passwords
if verify_password(password, user.password,
salt=_security.password_salt,
use_hmac=_security.password_hmac):
if verify_password(password, user.password):
return user
# bad match