mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: cookie
This commit is contained in:
@@ -118,6 +118,7 @@ export const userSignIn = async (email: string, password: string) => {
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({
|
||||
email: email,
|
||||
password: password
|
||||
@@ -154,6 +155,7 @@ export const userSignUp = async (
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({
|
||||
name: name,
|
||||
email: email,
|
||||
|
||||
Reference in New Issue
Block a user