fix: sso on web

This commit is contained in:
Christian Pauly 2021-02-24 09:49:12 +01:00
commit 57f81a3aa3

View file

@ -28,7 +28,8 @@ class FluffyClient extends Client {
databaseBuilder: getDatabase, databaseBuilder: getDatabase,
supportedLoginTypes: { supportedLoginTypes: {
AuthenticationTypes.password, AuthenticationTypes.password,
if (PlatformInfos.isMobile) AuthenticationTypes.sso if (PlatformInfos.isMobile || PlatformInfos.isWeb)
AuthenticationTypes.sso
}, },
); );
} }