mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +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) {
|
if(currentProfile().rememberUsername) {
|
||||||
auto job = new QKeychain::WritePasswordJob("LauncherWindow");
|
auto job = new QKeychain::WritePasswordJob("LauncherWindow");
|
||||||
job->setTextData(usernameEdit->text());
|
job->setTextData(usernameEdit->text());
|
||||||
job->setKey(currentProfile().name + "username");
|
job->setKey(currentProfile().name + "-username");
|
||||||
job->start();
|
job->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(currentProfile().rememberPassword) {
|
if(currentProfile().rememberPassword) {
|
||||||
auto job = new QKeychain::WritePasswordJob("LauncherWindow");
|
auto job = new QKeychain::WritePasswordJob("LauncherWindow");
|
||||||
job->setTextData(passwordEdit->text());
|
job->setTextData(passwordEdit->text());
|
||||||
job->setKey(currentProfile().name + "password");
|
job->setKey(currentProfile().name + "-password");
|
||||||
job->start();
|
job->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue