mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Config: Fix firstload password generation
This commit is contained in:
parent
07249da400
commit
da83de7503
@ -70,7 +70,7 @@ void Config::Load()
|
|||||||
// future loads use the override flag.
|
// future loads use the override flag.
|
||||||
if (FirstLoad) {
|
if (FirstLoad) {
|
||||||
FirstLoad = false;
|
FirstLoad = false;
|
||||||
if (!ServerPassword.isEmpty()) {
|
if (ServerPassword.isEmpty()) {
|
||||||
blog(LOG_INFO, "[Config::Load] (FirstLoad) Generating new server password.");
|
blog(LOG_INFO, "[Config::Load] (FirstLoad) Generating new server password.");
|
||||||
ServerPassword = QString::fromStdString(Utils::Crypto::GeneratePassword());
|
ServerPassword = QString::fromStdString(Utils::Crypto::GeneratePassword());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user