mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03: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:
parent
d4fe60756b
commit
f4ab979b59
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user