Require login/forgot forms fields so they are validated client-side too

This commit is contained in:
Flavio Copes
2016-04-08 11:11:10 +02:00
parent 3fe95ad911
commit bc18840a1a
2 changed files with 6 additions and 0 deletions

View File

@@ -7,4 +7,6 @@ form:
type: text
placeholder: PLUGIN_ADMIN.USERNAME
autofocus: true
validate:
required: true
---

View File

@@ -11,8 +11,12 @@ form:
type: text
placeholder: PLUGIN_ADMIN.USERNAME
autofocus: true
validate:
required: true
- name: password
type: password
placeholder: PLUGIN_ADMIN.PASSWORD
validate:
required: true
---