mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 07:35:24 +00:00
chore: lock the plugin boundary and remove 2.9.0 leftovers
This commit is contained in:
1 parent
6489b62ece
commit
2961297989
399 files changed
+3964
-5627
No files matched your search
@@ -27,9 +27,7 @@ export function isNativeAppRequest(req: Request): boolean {
|
||||
}
|
||||
|
||||
/** Cookie lifetime: 30 days when remembered, else session_timeout_hours. */
|
||||
export async function sessionCookieMaxAge(
|
||||
rememberMe: boolean,
|
||||
): Promise<number> {
|
||||
async function sessionCookieMaxAge(rememberMe: boolean): Promise<number> {
|
||||
if (rememberMe) return THIRTY_DAYS_MS;
|
||||
const value = await createCurrentSettingsRepository().get(
|
||||
"session_timeout_hours",
|
||||
|
||||
Reference in new issue
Block a user