mirror of
https://github.com/knadh/listmonk.git
synced 2025-09-26 08:24:51 +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">
|
<section class="login">
|
||||||
<h2>{{ .L.T "users.login"}}</h2>
|
<h2>{{ .L.T "users.login"}}</h2>
|
||||||
{{ if .Data.PasswordEnabled }}
|
{{ if .Data.PasswordEnabled }}
|
||||||
<form method="post" action="{{ .RootURL }}/admin/login" class="form">
|
<form method="post" action="/admin/login" class="form">
|
||||||
<div>
|
<div>
|
||||||
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
|
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
|
||||||
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />
|
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Data.OIDCProvider }}
|
{{ if .Data.OIDCProvider }}
|
||||||
<form method="post" action="{{ .RootURL }}/auth/oidc">
|
<form method="post" action="/auth/oidc">
|
||||||
<div>
|
<div>
|
||||||
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
|
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
|
||||||
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />
|
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue