Skip to content

Commit d1e6866

Browse files
authored
Merge pull request #34 from linuxserver/fix
fix form target
2 parents 1b8aa8a + 344f6d0 commit d1e6866

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

root/app/ldap-backend-app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ def auth_form(self, target = None, loginsubfolder = ""):
111111

112112
self.send_response(200)
113113
self.end_headers()
114-
self.wfile.write(ensure_bytes(html.replace('TARGET', target)))
115-
self.wfile.write(ensure_bytes(html.replace('LOGINSUBFOLDER', loginsubfolder)))
114+
self.wfile.write(ensure_bytes(html.replace('TARGET', target).replace('LOGINSUBFOLDER', loginsubfolder)))
116115

117116

118117
# processes posted form and sets the cookie with login/password

0 commit comments

Comments
 (0)