bug fixes and moving to production
This commit is contained in:
@@ -261,7 +261,7 @@ el.replaceWith(d);
|
||||
if username not in registry["users"]:
|
||||
raise ValueError(f"User '{username}' not found")
|
||||
|
||||
expiration = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(hours=8)
|
||||
expiration = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(hours=12)
|
||||
payload = {
|
||||
"sub": username,
|
||||
"exp": expiration
|
||||
@@ -473,7 +473,7 @@ Mode B: config_path set -> Reuses existing directory after validating its str
|
||||
if username not in registry["users"]:
|
||||
raise ValueError(f"User '{username}' not found")
|
||||
|
||||
expiration = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(hours=8)
|
||||
expiration = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(hours=12)
|
||||
payload = {
|
||||
"sub": username,
|
||||
"exp": expiration
|
||||
|
||||
Reference in New Issue
Block a user