mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Switch to use simple hashed passwords instead of per-user salt
This commit is contained in:
@@ -98,6 +98,11 @@ DISABLE_SERVICES = False
|
||||
# Services API generates a new password for the user
|
||||
GENERATE_SERVICE_PASSWORD = False
|
||||
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
'sso.backends.SimpleHashModelBackend',
|
||||
)
|
||||
|
||||
|
||||
AUTH_PROFILE_MODULE = 'sso.SSOUser'
|
||||
LOGIN_REDIRECT_URL = "/profile"
|
||||
LOGIN_URL = "/login"
|
||||
|
||||
Reference in New Issue
Block a user