Remove superfluous `\n` when logging password

The last trailing `\n` is not required as the logging system will add
it.

See gh-2146
pull/2280/merge
Phillip Webb 10 years ago
parent b6cb629974
commit 4c6907d5d8

@ -181,7 +181,7 @@ public class AuthenticationManagerConfiguration extends
User user = AuthenticationManagerConfiguration.this.security.getUser();
if (user.isDefaultPassword()) {
logger.info("\n\nUsing default security password: " + user.getPassword()
+ "\n\n");
+ "\n");
}
this.defaultAuth = new AuthenticationManagerBuilder(
AuthenticationManagerConfiguration.this.objectPostProcessor);

Loading…
Cancel
Save