fnp
/
cas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
acfb1b6
)
Changes from server.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 11 Jan 2019 20:33:46 +0000
(21:33 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 11 Jan 2019 20:33:46 +0000
(21:33 +0100)
src/accounts/models.py
patch
|
blob
|
history
diff --git
a/src/accounts/models.py
b/src/accounts/models.py
index
c9aaec6
..
819fcc0
100644
(file)
--- a/
src/accounts/models.py
+++ b/
src/accounts/models.py
@@
-16,6
+16,7
@@
def user_attributes(sender, user, **kwargs):
return {
'firstname': user.first_name,
'lastname': user.last_name,
return {
'firstname': user.first_name,
'lastname': user.last_name,
+ 'cn': ' '.join((user.first_name, user.last_name)),
'email': user.email,
}
cas_collect_custom_attributes.connect(user_attributes)
'email': user.email,
}
cas_collect_custom_attributes.connect(user_attributes)