login: don't print a warning for EAuthSessionGuardType::None (#346)

This commit is contained in:
Carson McManus 2023-12-03 10:12:03 -05:00 committed by GitHub
parent 41bf8a45ec
commit d18dd378c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,6 +157,10 @@ fn do_login_impl<T: Transport + Clone>(
let code = tui::prompt().trim().to_owned(); let code = tui::prompt().trim().to_owned();
login.submit_steam_guard_code(method.confirmation_type, code)?; login.submit_steam_guard_code(method.confirmation_type, code)?;
} }
EAuthSessionGuardType::k_EAuthSessionGuardType_None => {
debug!("No login confirmation required. Proceeding with login.");
continue;
}
_ => { _ => {
warn!("Unknown confirmation method: {:?}", method); warn!("Unknown confirmation method: {:?}", method);
continue; continue;