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:
ed 2025-08-01 19:56:16 +00:00
parent 941761e6e7
commit 4fa7be2a48

View file

@ -2940,7 +2940,7 @@ class HttpCli(object):
msg = "new password OK" msg = "new password OK"
redir = (self.args.SRS + "?h") if ok else "" 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) html = self.j2s("msg", h1=msg, h2=h2, redir=redir)
self.reply(html.encode("utf-8")) self.reply(html.encode("utf-8"))
return True return True
@ -2969,7 +2969,8 @@ class HttpCli(object):
dst += "_=1#" + html_escape(uhash, True, True) dst += "_=1#" + html_escape(uhash, True, True)
_, msg = self.get_pwd_cookie(pwd) _, 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")) self.reply(html.encode("utf-8"))
return True return True
@ -2983,7 +2984,7 @@ class HttpCli(object):
self.get_pwd_cookie("x") self.get_pwd_cookie("x")
dst = self.args.SRS + "?h" 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) html = self.j2s("msg", h1="ok bye", h2=h2, redir=dst)
self.reply(html.encode("utf-8")) self.reply(html.encode("utf-8"))
return True return True