Files
Grav-Admin-Plugin/pages/admin/reset.md
Matias Griese aa4f80eec1 Greatly improve login related actions for Admin
* Better isolate admin to prevent session related vulnerabilities
* Removed support for custom login redirects for improved security
* Shorten forgot password link lifetime from 7 days to 1 hour
* Fixed login related pages being accessible from admin when user has logged in
* Fixed admin user creation and password reset allowing unsafe passwords
* Fixed missing validation when registering the first admin user
* Fixed reset password email not to have session specific token in it
2021-03-26 14:39:37 +02:00

25 lines
387 B
Markdown

---
title: Reset password
expires: 0
access:
admin.login: false
forms:
admin-login-reset:
type: admin
method: post
fields:
username:
type: text
placeholder: PLUGIN_ADMIN.USERNAME
readonly: true
password:
type: password
placeholder: PLUGIN_ADMIN.PASSWORD
autofocus: true
token:
type: hidden
---