login: add a debug log for available confirmation methods (#335)

This commit is contained in:
Carson McManus 2023-10-17 14:01:05 -04:00 committed by GitHub
parent 7eb62cfa7b
commit a50109ad63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,12 @@ fn do_login_impl<T: Transport + Clone>(
} }
} }
debug!(
"got {} confirmation methods: {:#?}",
confirmation_methods.len(),
confirmation_methods
);
for method in confirmation_methods { for method in confirmation_methods {
match method.confirmation_type { match method.confirmation_type {
EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceConfirmation => { EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceConfirmation => {