Have to revert 3f122d5e03 because this broke existing sessions (logged me out) because the model has changed and the serialized model stored in redis no longer matches. Whew, this took a while to figure out.

This commit is contained in:
Samuel Clay 2020-06-26 19:38:16 -04:00
parent 6a893995bd
commit 9fba549ac3

View file

@ -117,7 +117,7 @@ MIDDLEWARE_CLASSES = (
AUTHENTICATION_BACKENDS = (
'oauth2_provider.backends.OAuth2Backend',
'django.contrib.auth.backends.AllowAllUsersModelBackend'
'django.contrib.auth.backends.ModelBackend',
)
CORS_ORIGIN_ALLOW_ALL = True