Skip to content

Commit

Permalink
Remove root URL from login setup form to prevent bad redirect on firs…
Browse files Browse the repository at this point in the history
…t install. Closes #2103.
  • Loading branch information
knadh committed Oct 28, 2024
1 parent 136d9d1 commit f5dfb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/public/templates/login-setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" />
Expand Down

0 comments on commit f5dfb0c

Please sign in to comment.