Skip to content

Commit

Permalink
Merge pull request matrix-org#6024 from matrix-org/dbkr/fix_sso_fallb…
Browse files Browse the repository at this point in the history
…ack_login

Fix SSO fallback login
  • Loading branch information
dbkr authored Sep 12, 2019
2 parents dd2e5b0 + 6db22e4 commit 59975f9
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 59975f9

Please sign in to comment.