diff --git a/bookwyrm/models/user.py b/bookwyrm/models/user.py index bf4f9401b..268a6c2a3 100644 --- a/bookwyrm/models/user.py +++ b/bookwyrm/models/user.py @@ -394,7 +394,7 @@ class User(OrderedCollectionPageMixin, AbstractUser): def reactivate(self): """Now you want to come back, huh?""" # pylint: disable=attribute-defined-outside-init - if not user.allow_reactivation: + if not self.allow_reactivation: return self.is_active = True self.deactivation_reason = None