mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Typo fix
This commit is contained in:
parent
11f1a4662e
commit
6a949c24e2
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
||||||
def reactivate(self):
|
def reactivate(self):
|
||||||
"""Now you want to come back, huh?"""
|
"""Now you want to come back, huh?"""
|
||||||
# pylint: disable=attribute-defined-outside-init
|
# pylint: disable=attribute-defined-outside-init
|
||||||
if not user.allow_reactivation:
|
if not self.allow_reactivation:
|
||||||
return
|
return
|
||||||
self.is_active = True
|
self.is_active = True
|
||||||
self.deactivation_reason = None
|
self.deactivation_reason = None
|
||||||
|
|
Loading…
Reference in a new issue