mirror of
https://github.com/knadh/listmonk.git
synced 2025-09-21 22:05:25 +08:00
Switch login form URLs to relative URIs.
This commit is contained in:
parent
cb8b54fd00
commit
b995cce5d1
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
<section class="login">
|
||||
<h2>{{ .L.T "users.login"}}</h2>
|
||||
{{ if .Data.PasswordEnabled }}
|
||||
<form method="post" action="{{ .RootURL }}/admin/login" class="form">
|
||||
<form method="post" action="/admin/login" class="form">
|
||||
<div>
|
||||
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
|
||||
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />
|
||||
|
@ -25,7 +25,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ if .Data.OIDCProvider }}
|
||||
<form method="post" action="{{ .RootURL }}/auth/oidc">
|
||||
<form method="post" action="/auth/oidc">
|
||||
<div>
|
||||
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
|
||||
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />
|
||||
|
|
Loading…
Add table
Reference in a new issue