Fixing the cross origine on the frontend side + request in json #79
@ -9,7 +9,7 @@ import ovh.herisson.Clyde.Services.AuthenticatorService;
|
||||
import java.util.Date;
|
||||
|
||||
@RestController
|
||||
@CrossOrigin(origins = "http://localhost:5173")
|
||||
@CrossOrigin(origins = "http://localhost:5173", allowCredentials = "true")
|
||||
public class LoginController {
|
||||
private final AuthenticatorService authServ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user