improve
This commit is contained in:
parent
2b880d232a
commit
e6019a3e3c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user