diff --git a/authens/backends.py b/authens/backends.py index 4ad9e91..735e435 100644 --- a/authens/backends.py +++ b/authens/backends.py @@ -108,7 +108,9 @@ 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) + post_cas_create.send( + CASAccount, cas_login=cas_login, attributes=attributes + ) return user # Django boilerplate.