mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
change "ack" to "continue";
longer text so easier to tap on mobile, and less confusing for people who aren't network engineers and/or kernel hackers thx @JanluOfficial for the idea
This commit is contained in:
parent
941761e6e7
commit
4fa7be2a48
|
@ -2940,7 +2940,7 @@ class HttpCli(object):
|
|||
msg = "new password OK"
|
||||
|
||||
redir = (self.args.SRS + "?h") if ok else ""
|
||||
h2 = '<a href="' + self.args.SRS + '?h">ack</a>'
|
||||
h2 = '<a href="' + self.args.SRS + '?h">continue</a>'
|
||||
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='<a href="' + dst + '">ack</a>', redir=dst)
|
||||
h2 = '<a href="' + dst + '">continue</a>'
|
||||
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 = '<a href="' + dst + '">ack</a>'
|
||||
h2 = '<a href="' + dst + '">continue</a>'
|
||||
html = self.j2s("msg", h1="ok bye", h2=h2, redir=dst)
|
||||
self.reply(html.encode("utf-8"))
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue