1
0
mirror of https://github.com/janeczku/calibre-web synced 2026-06-01 18:22:11 +00:00

Merge remote-tracking branch 'fix/token' into Develop

This commit is contained in:
Ozzie Isaacs
2026-05-09 10:17:57 +02:00
+1 -1
View File
@@ -537,7 +537,7 @@ class RemoteAuthToken(Base):
def __init__(self):
super().__init__()
self.auth_token = (hexlify(os.urandom(4))).decode('utf-8')
self.auth_token = (hexlify(os.urandom(16))).decode('utf-8')
self.expiration = datetime.now() + timedelta(minutes=10) # 10 min from now
def __repr__(self):