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
console.error("\"steamUser.useRefreshToken\" was provided in the config, but no refresh token found in local database. \"steamUser.accountName\" and \"steamUser.password\" are required in the config, but they were not provided!");
44
+
process.exit(1);
19
45
}
20
-
}else{
21
-
console.error("\"steamUser.useRefreshToken\" was provided in the config, but no refresh token found in local database. \"steamUser.accountName\" and \"steamUser.password\" are required in the config, but they were not provided!");
22
-
process.exit(1);
23
-
}
24
46
}else{
25
47
steamUserConfig={
26
48
anonymous: true
@@ -34,8 +56,29 @@ steamClient.on('refreshToken', async function (refreshToken) {
34
56
});
35
57
36
58
console.log("Logging in to Steam",steamUserConfig.anonymous ? "anonymously..." : (steamUserConfig.accountName ? `as ${steamUserConfig.accountName}...` : "using a refresh token..."));
0 commit comments