mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-13 20:30:14 +08:00
Update comment
This commit is contained in:
parent
2abc547f49
commit
a0aee350cc
@ -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.');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user