Remove kpsul access when not adherent #811
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ class AccountManager(models.Manager):
|
||||||
if result.cofprofile.is_cof:
|
if result.cofprofile.is_cof:
|
||||||
return result
|
return result
|
||||||
else:
|
else:
|
||||||
return None
|
raise self.model.DoesNotExist
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue