You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert(strRPCUserColonPass.empty()); // Only support initializing once
310
308
if (!GenerateAuthCookie(&strRPCUserColonPass, cookie_perms)) {
311
309
returnfalse;
312
310
}
311
+
if (strRPCUserColonPass.empty()) {
312
+
LogInfo("RPC authentication cookie file generation is disabled.");
313
+
} else {
314
+
LogInfo("Using random cookie authentication.");
315
+
}
313
316
} else {
314
317
LogPrintf("Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.\n");
0 commit comments