kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix: Adjust call for previous refactoring
rodzic
68cc6d9120
commit
2c6bb23715
|
@ -44,7 +44,7 @@ class ModelBackend(backends.ModelBackend):
|
|||
|
||||
def user_can_authenticate(self, user):
|
||||
can_authenticate = super().user_can_authenticate(user)
|
||||
if authentication.should_verify_email(user):
|
||||
if user.should_verify_email():
|
||||
raise authentication.UnverifiedEmail(user)
|
||||
|
||||
return can_authenticate
|
||||
|
|
Ładowanie…
Reference in New Issue