mirror of
https://github.com/9001/copyparty.git
synced 2026-04-02 22:08:38 +10:00
option to change the "pw" header/uparam name;
useful to force basic-auth and such
This commit is contained in:
@@ -167,7 +167,7 @@ class Cfg(Namespace):
|
||||
ex = "ah_alg bname chdir chmod_f chpw_db doctitle df epilogues exit favico ipa ipar html_head html_head_d html_head_s idp_login idp_logout lg_sba lg_sbf log_date log_fk md_sba md_sbf name og_desc og_site og_th og_title og_title_a og_title_v og_title_i opds_exts preadmes prologues readmes shr tcolor textfiles txt_eol ufavico ufavico_h unlist vname xff_src zipmaxt R RS SR"
|
||||
ka.update(**{k: "" for k in ex.split()})
|
||||
|
||||
ex = "apnd_who ban_403 ban_404 ban_422 ban_pw ban_pwc ban_url dont_ban cachectl rss_fmt_d rss_fmt_t spinner"
|
||||
ex = "apnd_who ban_403 ban_404 ban_422 ban_pw ban_pwc ban_url dont_ban cachectl http_vary rss_fmt_d rss_fmt_t spinner"
|
||||
ka.update(**{k: "no" for k in ex.split()})
|
||||
|
||||
ex = "ext_th grp idp_h_usr idp_hm_usr ipr on403 on404 qr_file xac xad xar xau xban xbc xbd xbr xbu xiu xm"
|
||||
@@ -206,6 +206,8 @@ class Cfg(Namespace):
|
||||
mtp=[],
|
||||
put_ck="sha512",
|
||||
put_name="put-{now.6f}-{cip}.bin",
|
||||
pw_hdr="pw",
|
||||
pw_urlp="pw",
|
||||
mv_retry="0/0",
|
||||
rm_retry="0/0",
|
||||
rotf_tz="UTC",
|
||||
|
||||
Reference in New Issue
Block a user