Remove root URL from login setup form to prevent bad redirect on first install. Closes #2103.

This commit is contained in:
Kailash Nadh 2024-10-28 13:17:01 +05:30
parent 136d9d1fa9
commit f5dfb0cf62

View file

@ -5,7 +5,7 @@
<h2>{{ .L.T "users.newUser"}}</h2>
<p> {{ .L.T "users.firstTime" }}</p>
<form method="post" action="{{ .RootURL }}/admin/login" class="form">
<form method="post" action="" class="form">
<div>
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />