create settings

This commit is contained in:
2017-11-28 10:55:28 +01:00
parent 6737e5b68c
commit 00478e626b
7 changed files with 222 additions and 22 deletions

View File

@@ -61,8 +61,6 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
LOGOUT_URL = '/logout/'
LOGIN_URL = '/login/'
AUTHENTICATION_BACKENDS = [
@@ -76,7 +74,7 @@ SAML_USERS_MAP = [{
"RuG": {
"email": dict(key="urn:mace:dir:attribute-def:mail", index=0),
"username": dict(key="urn:mace:dir:attribute-def:uid", index=0),
"first_name": dict(key="urn:mace:dir:attribute-def:givenName", index=0),
"first_name": dict(key="urn:mace:dir:attribute-def:gn", index=0),
"last_name": dict(key="urn:mace:dir:attribute-def:sn", index=0),
}
}]