1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 21:59:42 +02:00

Better password advice

This commit is contained in:
Simon Willison 2018-10-31 10:12:19 -07:00 committed by GitHub
parent 6e4c5194e2
commit db78d75489
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
<div class="form-group">
<label for="adminPassword">Password</label>
{{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control is-invalid' 'form-control')}}
<small class="form-text text-muted">Something you can remember without writing it down</small>
<small class="form-text text-muted">Pick something strong and unique that you don't use anywhere else</small>
</div>
<button type="submit" class="btn btn-success mt-5" {{action 'save'}}>{{buttonLabel}}</button>
</form>