Don't handle password when the matrix id is entered
This commit is contained in:
parent
0f62cba498
commit
fb5719f184
@ -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…
Reference in New Issue
Block a user