describe Login Name limitations on Registration form and Add Local Auth form (#9896)

* describe Login Name limitations on registration form and Add Local Auth form

* adjust text in response to this change: c69687f935

* update max length
This commit is contained in:
Alys
2018-01-28 02:38:23 +10:00
committed by Keith Holliday
parent f302d15bc4
commit c1e264955f
3 changed files with 3 additions and 0 deletions

View File

@@ -118,6 +118,7 @@
hr
div(v-if='!user.auth.local.username')
p {{ $t('addLocalAuth') }}
p {{ $t('usernameLimitations') }}
.form(name='localAuth', novalidate)
//-.alert.alert-danger(ng-messages='changeUsername.$error && changeUsername.submitted') {{ $t('fillAll') }}
.form-group

View File

@@ -23,6 +23,7 @@
.strike
span {{$t('or')}}
.form(@keyup.enter="register()")
p.form-text {{$t('usernameLimitations')}}
input.form-control(type='text', placeholder='Login Name', v-model='username', :class='{"input-valid": username.length > 3}')
input.form-control(type='email', placeholder='Email', v-model='email', :class='{"input-invalid": emailInvalid, "input-valid": emailValid}')
input.form-control(type='password', placeholder='Password', v-model='password', :class='{"input-valid": password.length > 3}')