Sign in parents by default

This commit is contained in:
Jonas Lochmann
2020-12-21 01:00:00 +01:00
parent 9dc797a96c
commit 2acee613f6
4 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -94,7 +94,8 @@ export const createFamily = async ({ database, mailAuthToken, firstParentDevice,
deviceName,
newDeviceInfo: firstParentDevice,
userId,
deviceAuthToken
deviceAuthToken,
isUserKeptSignedIn: true
}), { transaction })
return {
+2 -1
View File
@@ -61,7 +61,8 @@ export const signInIntoFamily = async ({ database, mailAuthToken, newDeviceInfo,
userId: userEntry.userId,
deviceName,
deviceAuthToken,
newDeviceInfo
newDeviceInfo,
isUserKeptSignedIn: true
}), { transaction })
// notify about changes