diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 5ce45a38..8f28fe5e 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -2940,7 +2940,7 @@ class HttpCli(object): msg = "new password OK" redir = (self.args.SRS + "?h") if ok else "" - h2 = 'ack' + h2 = 'continue' html = self.j2s("msg", h1=msg, h2=h2, redir=redir) self.reply(html.encode("utf-8")) return True @@ -2969,7 +2969,8 @@ class HttpCli(object): dst += "_=1#" + html_escape(uhash, True, True) _, msg = self.get_pwd_cookie(pwd) - html = self.j2s("msg", h1=msg, h2='ack', redir=dst) + h2 = 'continue' + html = self.j2s("msg", h1=msg, h2=h2, redir=dst) self.reply(html.encode("utf-8")) return True @@ -2983,7 +2984,7 @@ class HttpCli(object): self.get_pwd_cookie("x") dst = self.args.SRS + "?h" - h2 = 'ack' + h2 = 'continue' html = self.j2s("msg", h1="ok bye", h2=h2, redir=dst) self.reply(html.encode("utf-8")) return True