User validation
(self, form)
| 96 | return gettext("internal") |
| 97 | |
| 98 | def validate(self, form): |
| 99 | """User validation""" |
| 100 | # validate the email id first |
| 101 | if not validate_email(form.data['email']): |
| 102 | return False, self.messages('INVALID_EMAIL') |
| 103 | # Flask security validation |
| 104 | submit = form.validate_on_submit() |
| 105 | return submit, None |
| 106 | |
| 107 | def authenticate(self, form): |
| 108 | username = form.data['email'] |
nothing calls this directly
no test coverage detected