improve wording of webauthn cli interaction (#2073)

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
This commit is contained in:
Firstyear 2023-09-05 16:37:52 +10:00 committed by GitHub
parent 538429838d
commit eee9b09338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,7 +200,10 @@ async fn do_passkey(
pkr: RequestChallengeResponse, pkr: RequestChallengeResponse,
) -> Result<AuthResponse, ClientError> { ) -> Result<AuthResponse, ClientError> {
let mut wa = get_authenticator(); let mut wa = get_authenticator();
println!("Your authenticator will now flash for you to interact with it."); println!("If your authenticator is not attached, attach it now.");
println!("Your authenticator will then flash/prompt for confirmation.");
#[cfg(target_os = "macos")]
println!("Note: TouchID is not currently supported on the CLI 🫤");
let auth = wa let auth = wa
.do_authentication(client.get_origin().clone(), pkr) .do_authentication(client.get_origin().clone(), pkr)
.map(Box::new) .map(Box::new)