Show login options when using multiple SSO login methods (#6185)

This commit is contained in:
Elias Nahum 2022-04-21 12:40:53 -04:00 committed by GitHub
parent f665c74d2a
commit 8303588d29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -259,7 +259,7 @@ export default class SelectServer extends PureComponent {
screen = 'SSO';
title = formatMessage({id: 'mobile.routes.sso', defaultMessage: 'Single Sign-On'});
props = {ssoType: enabledSSOs[0]};
} else if (hasLoginForm && numberSSOs > 0) {
} else if ((hasLoginForm && numberSSOs > 0) || numberSSOs > 1) {
screen = 'LoginOptions';
title = formatMessage({id: 'mobile.routes.loginOptions', defaultMessage: 'Login Chooser'});
} else {