diff --git a/src/main/java/com/primefactorsolutions/config/SecurityConfig.java b/src/main/java/com/primefactorsolutions/config/SecurityConfig.java index 6bcfa06..f892d3f 100644 --- a/src/main/java/com/primefactorsolutions/config/SecurityConfig.java +++ b/src/main/java/com/primefactorsolutions/config/SecurityConfig.java @@ -66,8 +66,6 @@ public class SecurityConfig extends VaadinWebSecurity { final UserDetails details = super.mapUserFromContext(ctx, username, authorities); final Employee employee = employeeService.getDetachedEmployeeByUsername(details.getUsername()); - System.out.println(">>>>>" + employee + ">>>" + employee.getId()); - return employee == null ? details : employee; } };