mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-05-15 23:41:28 +01:00
fix: Fix broken user check when anonymous
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ class User(AbstractUser):
|
|||||||
person = self.person
|
person = self.person
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except Person.DoesNotExist:
|
except AttributeError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user