Skip to content

Commit

Permalink
Allow relogin with username and password from SSO accounts (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
rumtid authored Jun 21, 2022
1 parent 5077237 commit 38ec9b6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/account-mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,14 +707,6 @@ void AccountManager::reloginAccount(const Account &account_in)
const Account account(account_in);

do {
#ifdef HAVE_SHIBBOLETH_SUPPORT
if (account.isShibboleth) {
ShibLoginDialog shib_dialog(
account.serverUrl, seafApplet->settingsManager()->getComputerName());
accepted = shib_dialog.exec() == QDialog::Accepted;
break;
}
#endif // HAVE_SHIBBOLETH_SUPPORT
LoginDialog dialog;
dialog.initFromAccount(account);
accepted = dialog.exec() == QDialog::Accepted;
Expand Down

0 comments on commit 38ec9b6

Please sign in to comment.