chore: Follow up sso for desktop

This commit is contained in:
Krille 2023-03-26 11:20:54 +02:00
parent d6b3482ce2
commit 0d12c31393
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -112,10 +112,7 @@ abstract class ClientManager {
databaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder,
supportedLoginTypes: {
AuthenticationTypes.password,
if (PlatformInfos.isMobile ||
PlatformInfos.isWeb ||
PlatformInfos.isMacOS)
AuthenticationTypes.sso
AuthenticationTypes.sso,
},
nativeImplementations: nativeImplementations,
customImageResizer: PlatformInfos.isMobile ? customImageResizer : null,