mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-31 12:20:56 +08:00
Add more secure password storage via salt value and hmac
This commit is contained in:
@@ -157,6 +157,9 @@ class DefaultSecurityTests(SecurityTest):
|
||||
class ConfiguredSecurityTests(SecurityTest):
|
||||
|
||||
AUTH_CONFIG = {
|
||||
'SECURITY_PASSWORD_HASH': 'bcrypt',
|
||||
'SECURITY_PASSWORD_SALT': 'so-salty',
|
||||
'SECURITY_PASSWORD_HMAC': True,
|
||||
'SECURITY_REGISTERABLE': True,
|
||||
'SECURITY_AUTH_URL': '/custom_auth',
|
||||
'SECURITY_LOGOUT_URL': '/custom_logout',
|
||||
|
||||
Reference in New Issue
Block a user