37fb435e18
* Adds an env variable to .env to turn on dev mode * Uses the inbuilt django auth rather than saml when in dev mode * For laziness, re-uses the admin login form for the non-admin login make_dev_container now comes up ready to be logged into by any user. No non-admin users are preconfigured; but you can add one at http://localhost:28000/admin/auth/user/add/, log out, and then hit http://localhost:28000/ to log in as the new user.
7 lines
228 B
Python
7 lines
228 B
Python
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
|
AUTHENTICATION_BACKENDS = [
|
|
'symposion.teams.backends.TeamPermissionsBackend',
|
|
'django.contrib.auth.backends.ModelBackend',
|
|
]
|
|
LOGIN_URL='/accounts/login'
|
|
|