Skip to content

Commit f5dfb0c

Browse files
committed
Remove root URL from login setup form to prevent bad redirect on first install. Closes #2103.
1 parent 136d9d1 commit f5dfb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/public/templates/login-setup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h2>{{ .L.T "users.newUser"}}</h2>
66
<p> {{ .L.T "users.firstTime" }}</p>
77

8-
<form method="post" action="{{ .RootURL }}/admin/login" class="form">
8+
<form method="post" action="" class="form">
99
<div>
1010
<input type="hidden" name="nonce" value="{{ .Data.Nonce }}" />
1111
<input type="hidden" name="next" value="{{ .Data.NextURI }}" />

0 commit comments

Comments
 (0)