diff --git a/src/httpcommon.cpp b/src/httpcommon.cpp index 0de53f049de..fef7cf88543 100644 --- a/src/httpcommon.cpp +++ b/src/httpcommon.cpp @@ -58,7 +58,9 @@ namespace http { create_creds(config::nvhttp.pkey, config::nvhttp.cert)) { return -1; } - if (user_creds_exist(config::sunshine.credentials_file) && reload_user_creds(config::sunshine.credentials_file)) { + if (!user_creds_exist(config::sunshine.credentials_file)) { + BOOST_LOG(info) << "Open the Web UI to set your new username and password and getting started"; + } else if (reload_user_creds(config::sunshine.credentials_file) { return -1; } return 0; @@ -106,7 +108,6 @@ namespace http { BOOST_LOG(error) << "validating user credentials: "sv << e.what(); } - BOOST_LOG(info) << "Open the Web UI to set your new username and password and getting started"; return false; }