Skip to content

Commit

Permalink
fix: fix the error message in InvalidOldPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsMani committed Nov 30, 2023
1 parent ad4d497 commit b69a5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/core/errors/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl common_utils::errors::ErrorSwitch<api_models::errors::types::ApiErrorRespon
Self::InvalidOldPassword => AER::BadRequest(ApiError::new(
sub_code,
6,
"Old password incorrect. Pleasesymotion-f) enter the correct password",
"Old password incorrect. Please enter the correct password",
None,
)),
Self::EmailParsingError => {
Expand Down

0 comments on commit b69a5db

Please sign in to comment.