1
0

Merge pull request #6024 from matrix-org/dbkr/fix_sso_fallback_login

This commit is contained in:
Andrew Morgan
2020-02-25 14:27:10 +00:00
2 changed files with 2 additions and 1 deletions

1
changelog.d/6024.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix bug where login error was shown incorrectly on SSO fallback login.

View File

@@ -62,7 +62,7 @@ var show_login = function() {
$("#sso_flow").show();
}
if (!matrixLogin.serverAcceptsPassword && !matrixLogin.serverAcceptsCas) {
if (!matrixLogin.serverAcceptsPassword && !matrixLogin.serverAcceptsCas && !matrixLogin.serverAcceptsSso) {
$("#no_login_types").show();
}
};