mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-10 08:09:05 -06:00
form progress
This commit is contained in:
@@ -24,4 +24,7 @@ class RegistrationForm(FlaskForm):
|
||||
def validate_email(self, email):
|
||||
user = User.query.filter_by(email=email.data).first()
|
||||
if user is not None:
|
||||
raise ValidationError('That email address is not available.')
|
||||
raise ValidationError('That email address is not available.')
|
||||
|
||||
class ProfileSettingsForm(FlaskForm):
|
||||
show_email = BooleanField('Show ')
|
||||
Reference in New Issue
Block a user