mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 08:01:56 -05:00
fix: client should default cred include
This commit is contained in:
@@ -10,6 +10,7 @@ export const getClientConfig = <O extends ClientOptions>(options?: O) => {
|
||||
const $fetch = createFetch({
|
||||
baseURL: getBaseURL(options?.fetchOptions?.baseURL || options?.baseURL),
|
||||
...options?.fetchOptions,
|
||||
credentials: "include",
|
||||
plugins: [
|
||||
csrfPlugin,
|
||||
redirectPlugin,
|
||||
|
||||
Reference in New Issue
Block a user