Skip to content

Commit

Permalink
Update Regex for GOG Usernames
Browse files Browse the repository at this point in the history
Accept the use of dots in GOG Usernames
  • Loading branch information
MrRowey authored Sep 29, 2022
1 parent c7ea568 commit f898ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/mixins/form/account.pug
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ mixin gogUsername
.form-group.has-feedback
label GOG account name:
.input-group
input(type='text', name='gog_username', id='gogUsername', required='required', data-minlength='3', maxlength='100', pattern='[A-Za-z0-9_-]{2,99}$').form-control
input(type='text', name='gog_username', id='gogUsername', required='required', data-minlength='3', maxlength='100', pattern='[A-Za-z0-9._-]{2,99}$').form-control
span(aria-hidden='true').glyphicon.form-control-feedback
.help-block.with-errors

0 comments on commit f898ffb

Please sign in to comment.