fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
#1831: populate user data from CAS
[redakcja.git]
/
redakcja
/
settings
/
common.py
diff --git
a/redakcja/settings/common.py
b/redakcja/settings/common.py
index
5a337fb
..
ae43f3e
100644
(file)
--- a/
redakcja/settings/common.py
+++ b/
redakcja/settings/common.py
@@
-126,6
+126,9
@@
INSTALLED_APPS = (
LOGIN_REDIRECT_URL = '/documents/user'
+CAS_USER_ATTRS_MAP = {
+ 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}
+
FILEBROWSER_URL_FILEBROWSER_MEDIA = STATIC_URL + 'filebrowser/'
FILEBROWSER_DIRECTORY = 'images/'