1
0
Fork 0
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:
Frédéric Guillot 2017-12-22 16:30:17 -08:00
parent 9868f900e9
commit e031dad1e7
4 changed files with 8 additions and 7 deletions

View file

@ -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 {