mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Prevent slugify username from social sso backends
Relates #7684 of ansible-tower. Slugify username in python-social-auth means disallowing any non-alphanumerial characters, which is an over-kill for awx/tower, thus disabling it. Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
This commit is contained in:
@@ -519,7 +519,7 @@ SOCIAL_AUTH_INACTIVE_USER_URL = '/sso/inactive/'
|
||||
|
||||
SOCIAL_AUTH_RAISE_EXCEPTIONS = False
|
||||
SOCIAL_AUTH_USERNAME_IS_FULL_EMAIL = False
|
||||
SOCIAL_AUTH_SLUGIFY_USERNAMES = True
|
||||
#SOCIAL_AUTH_SLUGIFY_USERNAMES = True
|
||||
SOCIAL_AUTH_CLEAN_USERNAMES = True
|
||||
|
||||
SOCIAL_AUTH_SANITIZE_REDIRECTS = True
|
||||
|
||||
Reference in New Issue
Block a user