Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6024 from matrix-org/dbkr/fix_sso_fallback_login
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Feb 25, 2020
2 parents 057be54 + 59975f9 commit 1b2c568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6024.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug where login error was shown incorrectly on SSO fallback login.
2 changes: 1 addition & 1 deletion synapse/static/client/login/js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
};
Expand Down

0 comments on commit 1b2c568

Please sign in to comment.