From: Radek Czajka Date: Fri, 11 Jan 2019 20:33:46 +0000 (+0100) Subject: Changes from server. X-Git-Url: https://git.mdrn.pl/cas.git/commitdiff_plain/ba4a79354412a4679b7a24358c9a09fc60ea78c2?hp=acfb1b67784f5ea456de243ae9d69c269c92b79b Changes from server. --- diff --git a/src/accounts/models.py b/src/accounts/models.py index c9aaec6..819fcc0 100644 --- 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, + 'cn': ' '.join((user.first_name, user.last_name)), 'email': user.email, } cas_collect_custom_attributes.connect(user_attributes)