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
1 changed files with 0 additions and 3 deletions

View File

@ -164,9 +164,6 @@ LoginPage::onMatrixIdEntered()
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());
if (homeServer != inferredServerAddress_) {
serverInput_->hide();