1
0
Fork 0
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:
telnet23 2025-09-25 22:07:53 -04:00
parent 5fa0709663
commit 5ffbf53eaf
No known key found for this signature in database
GPG key ID: 19979DA282694B50
4 changed files with 19 additions and 1 deletions

View file

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