From a0aee350cc87d7609148f3f5a127eb02d0f05693 Mon Sep 17 00:00:00 2001 From: DoctorMcKay Date: Mon, 26 Jun 2023 01:37:08 -0400 Subject: [PATCH] Update comment --- examples/accept_all_confirmations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/accept_all_confirmations.js b/examples/accept_all_confirmations.js index 9ab968e..e9518a2 100644 --- a/examples/accept_all_confirmations.js +++ b/examples/accept_all_confirmations.js @@ -56,9 +56,9 @@ async function main() { let codeAction = startResult.validActions.find(action => codeActionTypes.includes(action.type)); if (codeAction) { if (codeAction.type == SteamSession.EAuthSessionGuardType.EmailCode) { + // We wouldn't expect this to happen since mobile confirmations are only possible with 2FA enabled, but just in case... console.log(`A code has been sent to your email address at ${codeAction.detail}.`); } else { - // We wouldn't expect this to happen since we're trying to enable 2FA, but just in case... console.log('You need to provide a Steam Guard Mobile Authenticator code.'); }