Sender = __class__ pour les signaux
This commit is contained in:
parent
fc87e52fd1
commit
97f00278f9
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ class ENSCASBackend:
|
||||||
CASAccount.objects.create(
|
CASAccount.objects.create(
|
||||||
user=user, entrance_year=entrance_year, cas_login=cas_login
|
user=user, entrance_year=entrance_year, cas_login=cas_login
|
||||||
)
|
)
|
||||||
post_cas_create.send(user, cas_login=cas_login, attributes=attributes)
|
post_cas_create.send(
|
||||||
|
CASAccount, cas_login=cas_login, attributes=attributes
|
||||||
|
)
|
||||||
return user
|
return user
|
||||||
|
|
||||||
# Django boilerplate.
|
# Django boilerplate.
|
||||||
|
|
Loading…
Reference in a new issue