mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Fix missing dashes in reading username/password key
This commit is contained in:
parent
68b92429fa
commit
5ad2bfccfc
1 changed files with 2 additions and 2 deletions
|
@ -316,14 +316,14 @@ LauncherWindow::LauncherWindow(QWidget* parent) :
|
|||
if(currentProfile().rememberUsername) {
|
||||
auto job = new QKeychain::WritePasswordJob("LauncherWindow");
|
||||
job->setTextData(usernameEdit->text());
|
||||
job->setKey(currentProfile().name + "username");
|
||||
job->setKey(currentProfile().name + "-username");
|
||||
job->start();
|
||||
}
|
||||
|
||||
if(currentProfile().rememberPassword) {
|
||||
auto job = new QKeychain::WritePasswordJob("LauncherWindow");
|
||||
job->setTextData(passwordEdit->text());
|
||||
job->setKey(currentProfile().name + "password");
|
||||
job->setKey(currentProfile().name + "-password");
|
||||
job->start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue