More detailed namespace validation
Fixes namespace validation to use the proper regex for checking length, as well as showing the proper messaging if the entered namespace is invalid [Delivers #137830461]
This commit is contained in:
parent
aafcb592a6
commit
462f47924e
7 changed files with 11 additions and 14 deletions
|
@ -16,7 +16,7 @@
|
|||
Usernames with dots or dashes are incompatible with Docker version 1.8 or older
|
||||
</div>
|
||||
<div class="co-alert co-alert-danger thin" ng-show="!signupForm.namespaceField.$error.required && signupForm.namespaceField.$invalid">
|
||||
Usernames must be alphanumeric and be at least four characters in length
|
||||
Usernames must be alphanumeric and between four and thirty characters in length
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Reference in a new issue