fetch() now setting refresh-token cookie.
This commit is contained in:
parent
401b5bef43
commit
85f6913b0e
@ -9,6 +9,7 @@ const login = async (
|
||||
import.meta.env.VITE_MME_API_URL + '/auth/login',
|
||||
{
|
||||
body: JSON.stringify({ username, password }),
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
'Content-type': 'application/json'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user