Skip to content

Commit

Permalink
Updated AP to not accept spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
seamustuohy committed Dec 3, 2016
1 parent 39d5f56 commit c3f6121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copilot/views/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Config(Form):
ap_name = TextField('Trainee Access Point Name', validators=[
Required(message='You must change the access point name.'),
Length(min=1, max=31),
Regexp("^[^\s]*$", "AP Name cannot contain any spaces or tabs.")])
Regexp("^[^\s]*$", message="AP Name cannot contain any spaces or tabs.")])
ap_password = PasswordField('Access Point Password', validators=[
Required(message='You must change the access point password.'),
Length(min=8, max=63),
Expand Down

0 comments on commit c3f6121

Please sign in to comment.