Changeset cc88ec2 for src/main/java/com/example/moviezone/config
- Timestamp:
- 02/09/23 14:57:39 (23 months ago)
- Branches:
- master
- Children:
- 17a2fda
- Parents:
- ff75720
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/CustomUsernamePasswordAuthenticationProvider.java
rff75720 rcc88ec2 35 35 36 36 UserDetails userDetails = this.userService.findByUsername(username); 37 String realPassword = userDetails.getPassword();38 if (!Objects.equals(password, realPassword)) {37 // String realPassword = userDetails.getPassword(); 38 if (!Objects.equals(password,userDetails.getPassword())) { 39 39 throw new BadCredentialsException("Password is incorrect!"); 40 40 }
Note:
See TracChangeset
for help on using the changeset viewer.