mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
fix: Fix broken user check when anonymous
This commit is contained in:
@@ -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