mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-12-01 22:58:49 +03:00
Don't handle password when the matrix id is entered
This commit is contained in:
parent
0f62cba498
commit
fb5719f184
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue