Browse Source

Merge pull request #295 from Jimnotgym/authtokenloop

cannot resend verification email as says already verified
Alec Nikolas Reiter 7 years ago
parent
commit
42785ac87e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/auth/forms.py

+ 1 - 1
flaskbb/auth/forms.py

@@ -158,7 +158,7 @@ class RequestActivationForm(FlaskForm):
         if not self.user.username == self.username.data:
             raise ValidationError(_("User does not exist."))
 
-        if self.user.activated is not None:
+        if self.user.activated is True:
             raise ValidationError(_("User is already active."))