Fix: no se seteaban las credenciales
This commit is contained in:
1 parent
23ee793c74
commit
e5f9a6f1ec
1 file changed
+1
@@ -19,6 +19,7 @@ export async function login(e:FormDataEvent,dto: LoginDto, callbackfn:()=>void){
|
||||
headers:{
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify(dto)
|
||||
});
|
||||
if (req.ok) {
|
||||
|
||||
Reference in new issue
Block a user