Only use password salt if using hmac

This commit is contained in:
Matt Wright
2012-08-20 18:17:29 -04:00
parent 332575e53b
commit 101fa42e55
2 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ class ConfiguredSecurityTests(SecurityTest):
AUTH_CONFIG = {
'SECURITY_PASSWORD_HASH': 'bcrypt',
'SECURITY_PASSWORD_SALT': 'so-salty',
'SECURITY_PASSWORD_HMAC_SALT': 'so-salty',
'SECURITY_PASSWORD_HMAC': True,
'SECURITY_REGISTERABLE': True,
'SECURITY_AUTH_URL': '/custom_auth',