mirror of
https://github.com/9001/copyparty.git
synced 2026-04-01 04:53:10 +10:00
nevermind, not reliable when rproxied
This commit is contained in:
@@ -245,11 +245,8 @@ class HttpCli(object):
|
||||
self.dvol = self.asrv.vfs.adel[self.uname]
|
||||
self.gvol = self.asrv.vfs.aget[self.uname]
|
||||
|
||||
# resend auth cookie if more than 1/3 of the lifetime has passed
|
||||
# (rate-limited to prevent thrashing browser state, not for performance)
|
||||
if pwd and self.conn.pwd_cookie_upd < self.t0 - 20 * 60 * self.args.logout:
|
||||
if pwd:
|
||||
self.out_headerlist.append(("Set-Cookie", self.get_pwd_cookie(pwd)[0]))
|
||||
self.conn.pwd_cookie_upd = self.t0
|
||||
|
||||
if self.is_rclone:
|
||||
uparam["raw"] = False
|
||||
|
||||
Reference in New Issue
Block a user