mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Fix wrong id generation method during family creation
This commit is contained in:
@@ -69,7 +69,7 @@ export const createFamily = async ({ database, mailAuthToken, firstParentDevice,
|
||||
fullVersionUntil: (Date.now() + 1000 * 60 * 60 * 24 * 14).toString(10),
|
||||
hasFullVersion: true,
|
||||
nextServerKeyRequestSeq: '1',
|
||||
u2fKeysVersion: generateIdWithinFamily()
|
||||
u2fKeysVersion: generateVersionId()
|
||||
}, { transaction })
|
||||
|
||||
// create parent user
|
||||
|
||||
Reference in New Issue
Block a user