mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Sign in parents by default
This commit is contained in:
@@ -94,7 +94,8 @@ export const createFamily = async ({ database, mailAuthToken, firstParentDevice,
|
||||
deviceName,
|
||||
newDeviceInfo: firstParentDevice,
|
||||
userId,
|
||||
deviceAuthToken
|
||||
deviceAuthToken,
|
||||
isUserKeptSignedIn: true
|
||||
}), { transaction })
|
||||
|
||||
return {
|
||||
|
||||
@@ -61,7 +61,8 @@ export const signInIntoFamily = async ({ database, mailAuthToken, newDeviceInfo,
|
||||
userId: userEntry.userId,
|
||||
deviceName,
|
||||
deviceAuthToken,
|
||||
newDeviceInfo
|
||||
newDeviceInfo,
|
||||
isUserKeptSignedIn: true
|
||||
}), { transaction })
|
||||
|
||||
// notify about changes
|
||||
|
||||
Reference in New Issue
Block a user