Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Modify the PhoneAppNotification prompt
Browse files Browse the repository at this point in the history
This is not a MFA code prompt, it's a
notification message on the users phone.

Signed-off-by: David Mulder <[email protected]>
  • Loading branch information
dmulder committed May 29, 2024
1 parent 57ace31 commit 146f4a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "msal"
description = "Microsoft Compatible Authentication Library for Rust"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = [
"David Mulder <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ impl PublicClientApplication {
Err(e) => return Err(e),
};
let msg = match default_auth_method.auth_method_id.as_str() {
"PhoneAppNotification" => format!("Open your Authenticator app, and enter the number '{}' when prompted, then type in the code displayed on your authenticator app from your device:", auth_response.entropy),
"PhoneAppNotification" => format!("Open your Authenticator app, and enter the number '{}' to sign in.", auth_response.entropy),
"PhoneAppOTP" =>
"Please type in the code displayed on your authenticator app from your device:".to_string(),
"OneWaySMS" =>
Expand Down

0 comments on commit 146f4a7

Please sign in to comment.