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"));