From 78cebc7469660ba835fdbafa6142ca4ed4ee90f2 Mon Sep 17 00:00:00 2001 From: Manish Kapoor Date: Thu, 18 Aug 2022 15:09:37 +0530 Subject: [PATCH] Improved log message. --- .../src/main/groovy/demo/TwoFactorAuthenticationProvider.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complete/src/main/groovy/demo/TwoFactorAuthenticationProvider.groovy b/complete/src/main/groovy/demo/TwoFactorAuthenticationProvider.groovy index 56d3d80..e7196b6 100644 --- a/complete/src/main/groovy/demo/TwoFactorAuthenticationProvider.groovy +++ b/complete/src/main/groovy/demo/TwoFactorAuthenticationProvider.groovy @@ -30,7 +30,7 @@ class TwoFactorAuthenticationProvider extends DaoAuthenticationProvider { if ( !coordinateValidator.isValidValueForPositionAndUserName(twoFactorAuthenticationDetails.coordinateValue, twoFactorAuthenticationDetails.coordinatePosition, authentication.name) ) { - logger.debug("Authentication failed: coordiante note valid"); + logger.debug("Authentication failed: coordinate is not valid"); throw new BadCredentialsException(messages.getMessage( "AbstractUserDetailsAuthenticationProvider.badCredentials", "Bad credentials"));