idp login/logout routes (#761)

This commit is contained in:
ed
2025-09-05 18:44:30 +00:00
parent c2be664e96
commit 09f22993be
9 changed files with 68 additions and 10 deletions

View File

@@ -2808,6 +2808,7 @@ class AuthSrv(object):
js_htm = {
"SPINNER": self.args.spinner,
"s_name": self.args.bname,
"idp_login": self.args.idp_login,
"have_up2k_idx": "e2d" in vf,
"have_acode": not self.args.no_acode,
"have_c2flac": self.args.allow_flac,
@@ -2879,7 +2880,7 @@ class AuthSrv(object):
self.args.ao_idp_before_pw = min(h, hm) < pw
self.args.ao_h_before_hm = h < hm
self.args.ao_ipu_wins = ipu == 0
self.args.ao_have_pw = pw < 99
self.args.ao_have_pw = pw < 99 or not self.args.have_idp_hdrs
def load_idp_db(self, quiet=False) -> None:
# mutex me