mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-24 01:09:10 -05:00
Add timestamp
This commit is contained in:
@@ -214,6 +214,9 @@ class AuthService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
meta.created = new Date().toISOString();
|
||||
meta.created_unix = Math.floor(Date.now() / 1000);
|
||||
|
||||
const uuid = this.modules.uuidv4();
|
||||
await this.db.write(
|
||||
'INSERT INTO `sessions` ' +
|
||||
|
||||
Reference in New Issue
Block a user