mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-18 15:57:31 -03:00
Fix: no se seteaban las credenciales
This commit is contained in:
@@ -19,6 +19,7 @@ export async function login(e:FormDataEvent,dto: LoginDto, callbackfn:()=>void){
|
|||||||
headers:{
|
headers:{
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
},
|
},
|
||||||
|
credentials: 'include',
|
||||||
body: JSON.stringify(dto)
|
body: JSON.stringify(dto)
|
||||||
});
|
});
|
||||||
if (req.ok) {
|
if (req.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user