def is_valid(self): if not validate_email(self.form['email']): return self.error('email is not valid') return super(ResetValidator, self).is_valid()