Signaux de création
This commit is contained in:
parent
4af5b9a90b
commit
ce5fcb3d30
2 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,7 @@ class ENSCASBackend:
|
|||
CASAccount.objects.create(
|
||||
user=user, entrance_year=entrance_year, cas_login=cas_login
|
||||
)
|
||||
post_cas_create.send(user, cas_login=cas_login, attributes=attributes)
|
||||
return user
|
||||
|
||||
# Django boilerplate.
|
||||
|
|
3
authens/signals.py
Normal file
3
authens/signals.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
import django.dispatch
|
||||
|
||||
post_cas_create = django.dispatch.Signal()
|
Loading…
Reference in a new issue