X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/864d45abe5ec985836baf52de168943d25a03be6..ad2f309daa381e9a7a2b7a8a17ef494b60f838b2:/src/redakcja/settings/defaults.py?ds=inline diff --git a/src/redakcja/settings/defaults.py b/src/redakcja/settings/defaults.py index 63f9e932..547269b1 100644 --- a/src/redakcja/settings/defaults.py +++ b/src/redakcja/settings/defaults.py @@ -1,5 +1,6 @@ -# -*- coding: utf-8 -*- -from __future__ import absolute_import +# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# import os.path PROJECT_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__))) @@ -65,5 +66,6 @@ BROKER_URL = 'django://' SHOW_APP_VERSION = False -CAS_USER_ATTRS_MAP = { +CAS_APPLY_ATTRIBUTES_TO_USER = True +CAS_RENAME_ATTRIBUTES = { 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}