mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-25 06:01:31 +01:00
2017-07-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed abug in 'rdlogin/rdlogin.cpp' that caused user login to fail to be effective when not listing users.
This commit is contained in:
@@ -273,7 +273,12 @@ void MainWidget::loginData()
|
||||
user=new RDUser(login_username_edit->text());
|
||||
}
|
||||
if(user->exists()&&user->checkPassword(login_password_edit->text(),false)) {
|
||||
login_ripc->setUser(login_username_box->currentText());
|
||||
if(login_system->showUserList()) {
|
||||
login_ripc->setUser(login_username_box->currentText());
|
||||
}
|
||||
else {
|
||||
login_ripc->setUser(login_username_edit->text());
|
||||
}
|
||||
login_password_edit->clear();
|
||||
delete user;
|
||||
qApp->processEvents();
|
||||
|
||||
Reference in New Issue
Block a user