diff --git a/src/OrchardCore.Modules/OrchardCore.Users/Endpoints/EmailAuthenticator/SendCode.cs b/src/OrchardCore.Modules/OrchardCore.Users/Endpoints/EmailAuthenticator/SendCode.cs index 8f644f509dc..461449be49e 100644 --- a/src/OrchardCore.Modules/OrchardCore.Users/Endpoints/EmailAuthenticator/SendCode.cs +++ b/src/OrchardCore.Modules/OrchardCore.Users/Endpoints/EmailAuthenticator/SendCode.cs @@ -61,8 +61,9 @@ private static async Task HandleAsync( return TypedResults.Ok(new { success = result.Succeeded, - message = result.Succeeded ? S["A verification code has been sent via email. Please check your email for the code."].Value - : errorMessage.Value, + message = result.Succeeded + ? S["A verification code has been sent via email. Please check your email for the code."].Value + : errorMessage.Value, }); }