mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Remove superfluous \n
when logging password
The last trailing `\n` is not required as the logging system will add it. See gh-2146
This commit is contained in:
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…
Reference in New Issue
Block a user