This commit is contained in:
Konstantin 2025-02-20 15:41:01 +03:00
parent 2b880d232a
commit e6019a3e3c

View File

@ -40,8 +40,6 @@ public class EmployeeController {
public EmployeeDTO info(@RequestParam final String login) {
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
String recipientLogin = authentication.getName();
var a = new BCryptPasswordEncoder();
System.out.println(a.encode("wordpass"));
return employeeService.getEmployeeDTO(login, recipientLogin);
}