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

Modify the PhoneAppNotification prompt #68

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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