added the cross origin stuff
This commit is contained in:
parent
5bda05925c
commit
5d6d2d4536
@ -38,6 +38,7 @@ public class LoginController {
|
||||
|
||||
HttpHeaders responseHeaders = new HttpHeaders();
|
||||
responseHeaders.set("Set-Cookie",String.format("session_token=%s",sessionToken));
|
||||
responseHeaders.set("Access-Control-Allow-Credentials","true");
|
||||
return ResponseEntity.ok().headers(responseHeaders).build();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user