@actual-app/sync-server 25.12.0-nightly.20251112 → 25.12.0-nightly.20251114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -238,10 +238,10 @@ export async function loginWithOpenIdFinalize(body) {
|
|
|
238
238
|
}
|
|
239
239
|
else if (typeof config.get('token_expiration') === 'number') {
|
|
240
240
|
expiration =
|
|
241
|
-
Math.floor(Date.now() / 1000) + config.get('token_expiration')
|
|
241
|
+
Math.floor(Date.now() / 1000) + config.get('token_expiration');
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
244
|
-
expiration = Math.floor(Date.now() / 1000) + 10 * 60;
|
|
244
|
+
expiration = Math.floor(Date.now() / 1000) + 10 * 60; // Default to 10 minutes
|
|
245
245
|
}
|
|
246
246
|
accountDb.mutate('INSERT INTO sessions (token, expires_at, user_id, auth_method) VALUES (?, ?, ?, ?)', [token, expiration, userId, 'openid']);
|
|
247
247
|
clearExpiredSessions();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actual-app/sync-server",
|
|
3
|
-
"version": "25.12.0-nightly.
|
|
3
|
+
"version": "25.12.0-nightly.20251114",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "actual syncing server",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@actual-app/crdt": "2.1.0",
|
|
31
|
-
"@actual-app/web": "25.12.0-nightly.
|
|
31
|
+
"@actual-app/web": "25.12.0-nightly.20251114",
|
|
32
32
|
"bcrypt": "^6.0.0",
|
|
33
33
|
"better-sqlite3": "^12.4.1",
|
|
34
34
|
"convict": "^6.2.4",
|