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

Fix SSO fallback login
This commit is contained in:
David Baker authored and GitHub committed 2019-09-12 12:02:14 +01:00
commit 59975f9a63
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Fix bug where login error was shown incorrectly on SSO fallback login.
+1 -1
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();
}
};