Merge pull request #1270 from umap-project/protect-username
Protect back username field from being modified by social auth login
This commit is contained in:
commit
085721e3de
1 changed files with 0 additions and 2 deletions
|
@ -264,8 +264,6 @@ LEAFLET_ZOOM = env.int('LEAFLET_ZOOM', default=6)
|
||||||
COMPRESS_ENABLED = True
|
COMPRESS_ENABLED = True
|
||||||
COMPRESS_OFFLINE = True
|
COMPRESS_OFFLINE = True
|
||||||
|
|
||||||
SOCIAL_AUTH_NO_DEFAULT_PROTECTED_USER_FIELDS = True
|
|
||||||
SOCIAL_AUTH_PROTECTED_USER_FIELDS = ("id", )
|
|
||||||
LOGIN_URL = "login"
|
LOGIN_URL = "login"
|
||||||
SOCIAL_AUTH_LOGIN_REDIRECT_URL = "/login/popup/end/"
|
SOCIAL_AUTH_LOGIN_REDIRECT_URL = "/login/popup/end/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue