- Timestamp:
- 05/06/25 00:44:02 (12 days ago)
- Branches:
- main
- Children:
- e48199a
- Parents:
- 142c0f8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/rezevirajmasa/demo/web/rest/AuthController.java
r142c0f8 rb67dfd3 5 5 import com.example.rezevirajmasa.demo.dto.SignUpDto; 6 6 import com.example.rezevirajmasa.demo.dto.UserDto; 7 import com.example.rezevirajmasa.demo.model.Customer;8 import com.example.rezevirajmasa.demo.service.CustomerService;9 7 import com.example.rezevirajmasa.demo.service.UserService; 10 8 import lombok.RequiredArgsConstructor; 11 import org.apache.coyote.Response;12 import org.springframework.beans.factory.annotation.Autowired;13 import org.springframework.http.HttpStatus;14 9 import org.springframework.http.ResponseEntity; 15 import org.springframework.security.authentication.AuthenticationManager;16 import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;17 import org.springframework.security.core.Authentication;18 import org.springframework.security.crypto.password.PasswordEncoder;19 import org.springframework.web.bind.annotation.CrossOrigin;20 10 import org.springframework.web.bind.annotation.PostMapping; 21 11 import org.springframework.web.bind.annotation.RequestBody;
Note:
See TracChangeset
for help on using the changeset viewer.