mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
feat(login): redirect back to original page after logging in
This commit is contained in:
parent
5fa0709663
commit
5ffbf53eaf
4 changed files with 19 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
{{ if not disableLocalAuth }}
|
||||
<form action="{{ route "checkLogin" }}" method="post">
|
||||
<input type="hidden" name="csrf" value="{{ .csrf }}">
|
||||
<input type="hidden" name="redirect_url" value="{{ .redirectURL }}">
|
||||
|
||||
{{ if .errorMessage }}
|
||||
<div role="alert" class="alert alert-error">{{ .errorMessage }}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue