Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(backend:sync): decrease client token expiration for security
johavenf19c5d61df32
diff --git a/backend/src/applications/sync/constants/auth.ts b/backend/src/applications/sync/constants/auth.tsindex c172ddb3..e4c351dd 100644--- a/backend/src/applications/sync/constants/auth.ts+++ b/backend/src/applications/sync/constants/auth.ts@@ -9,6 +9,6 @@ export enum CLIENT_AUTH_TYPE {TOKEN = 'token'}-export const CLIENT_TOKEN_EXPIRATION_TIME = '180d'-export const CLIENT_TOKEN_RENEW_TIME = '90d'+export const CLIENT_TOKEN_EXPIRATION_TIME = '120d'+export const CLIENT_TOKEN_RENEW_TIME = '60d'export const CLIENT_TOKEN_EXPIRED_ERROR = 'Client token is expired'