Add logger for default password

pull/50/head
Dave Syer 11 years ago committed by Phillip Webb
parent f8f36ead42
commit 6498f0e8b8

@ -225,7 +225,8 @@ public class SecurityAutoConfiguration {
public AuthenticationManager authenticationManager() throws Exception { public AuthenticationManager authenticationManager() throws Exception {
User user = this.management.getUser(); User user = this.management.getUser();
if (user.isDefaultPassword()) { if (user.isDefaultPassword()) {
logger.info("Using default password for "); logger.info("Using default password for management endpoints: "
+ user.getPassword());
} }
List<String> roles = new ArrayList<String>(); List<String> roles = new ArrayList<String>();
roles.add("USER"); roles.add("USER");

Loading…
Cancel
Save