mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
fix: Fix broken user check when anonymous
This commit is contained in:
1 parent
e3ef4ed90c
commit
7784ab3e09
1 file changed
+1
-1
+1
-1
@@ -23,7 +23,7 @@ class User(AbstractUser):
|
||||
person = self.person
|
||||
return True
|
||||
|
||||
except Person.DoesNotExist:
|
||||
except AttributeError:
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user