Don't handle password when the matrix id is entered

remotes/origin/HEAD
Konstantinos Sideris 7 years ago
parent 0f62cba498
commit fb5719f184
  1. 3
      src/LoginPage.cc

@ -164,9 +164,6 @@ LoginPage::onMatrixIdEntered()
return loginError("You have entered an invalid Matrix ID e.g @joe:matrix.org"); return loginError("You have entered an invalid Matrix ID e.g @joe:matrix.org");
} }
if (password_input_->text().isEmpty())
return loginError(tr("Empty password"));
QString homeServer = QString::fromStdString(user.hostname()); QString homeServer = QString::fromStdString(user.hostname());
if (homeServer != inferredServerAddress_) { if (homeServer != inferredServerAddress_) {
serverInput_->hide(); serverInput_->hide();

Loading…
Cancel
Save