diff --git a/pages/admin/forgot.md b/pages/admin/forgot.md index 9e8f3aa0..993a35fd 100644 --- a/pages/admin/forgot.md +++ b/pages/admin/forgot.md @@ -7,4 +7,6 @@ form: type: text placeholder: PLUGIN_ADMIN.USERNAME autofocus: true + validate: + required: true --- diff --git a/pages/admin/login.md b/pages/admin/login.md index 2d9b1fb1..554d59d1 100644 --- a/pages/admin/login.md +++ b/pages/admin/login.md @@ -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 ---