Don't handle password when the matrix id is entered

This commit is contained in:
Konstantinos Sideris 2018-03-04 15:15:52 +02:00
parent 0f62cba498
commit fb5719f184

View file

@ -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();