fetch() now setting refresh-token cookie.

This commit is contained in:
Jesse Brault 2024-08-07 08:41:20 -05:00
parent 401b5bef43
commit 85f6913b0e

View File

@ -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'
},