mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Fill login form on failed sign in
This commit is contained in:
parent
9868f900e9
commit
e031dad1e7
4 changed files with 8 additions and 7 deletions
|
@ -31,6 +31,7 @@ func (c *Controller) CheckLogin(ctx *core.Context, request *core.Request, respon
|
|||
tplParams := tplParams{
|
||||
"errorMessage": "Invalid username or password.",
|
||||
"csrf": ctx.CSRF(),
|
||||
"form": authForm,
|
||||
}
|
||||
|
||||
if err := authForm.Validate(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue