Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Nov 13, 2024
1 parent 3a7c0fa commit 19c790b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codeforlife/user/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class Meta(TypedModelMeta):
def is_authenticated(self):
return (
not self.session.auth_factors.exists()
and self.userprofile.is_verified
if super().is_authenticated
else False
)
Expand Down

0 comments on commit 19c790b

Please sign in to comment.