mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-22 09:22:01 +00:00
8 lines
240 B
TypeScript
8 lines
240 B
TypeScript
|
import { phoneNumberClient } from "better-auth/client/plugins";
|
||
|
import { createAuthClient } from "better-auth/react";
|
||
|
|
||
|
export const authClient = createAuthClient({
|
||
|
baseURL: process.env.BETTER_AUTH_URL,
|
||
|
plugins: [phoneNumberClient()],
|
||
|
});
|