Skip to content

Commit

Permalink
updated register-user endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramu Nerella authored and Ramu Nerella committed Aug 10, 2021
1 parent 19380d7 commit bc8e995
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fence/blueprints/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def xor_with_user_email(form, field):


class RegistrationForm(FlaskForm):
name = StringField(label="Name", validators=[DataRequired()])
# name = StringField(label="Name", validators=[DataRequired()])
firstname = StringField(label="FirstName", validators=[DataRequired()])
lastname = StringField(label="LastName", validators=[DataRequired()])
organization = StringField(label="Organization", validators=[DataRequired()])
email = StringField(label="Email", validators=[xor_with_user_email, Email()])

Expand Down

0 comments on commit bc8e995

Please sign in to comment.