Skip to content

Commit

Permalink
Changed the minimum length of the username field
Browse files Browse the repository at this point in the history
to two characters
  • Loading branch information
rmiccoli committed Feb 15, 2022
1 parent aef6ef3 commit 4efd231
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 class="text-center">
ng-class="{'has-error': rc.fieldInvalid('username'), 'has-success': rc.fieldValid('username')}">
<label class="control-label" for="username">Username</label>
<input class="form-control" id="username" name="username" type="text" ng-model="request.username"
placeholder="Choose a username" required ng-minlength="3" iam-username-available-validator
placeholder="Choose a username" required ng-minlength="2" iam-username-available-validator
ng-model-options="{ debounce : { 'default' : 500 } }" ng-readonly="rc.fieldReadonly('username')" />
<span class="help-block"
ng-show="registrationForm.username.$dirty && registrationForm.username.$error.required">
Expand Down

0 comments on commit 4efd231

Please sign in to comment.