mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
Require login/forgot forms fields so they are validated client-side too
This commit is contained in:
@@ -7,4 +7,6 @@ form:
|
||||
type: text
|
||||
placeholder: PLUGIN_ADMIN.USERNAME
|
||||
autofocus: true
|
||||
validate:
|
||||
required: true
|
||||
---
|
||||
|
||||
@@ -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
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user