fix(auth): migrate from next-auth to better-auth (#1453)
This commit is contained in:
parent
453f5bb3e6
commit
b4f595a68c
40 changed files with 668 additions and 390 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import { generateDummyPassword } from "./db/utils";
|
||||
|
||||
export const isProductionEnvironment = process.env.NODE_ENV === "production";
|
||||
export const isDevelopmentEnvironment = process.env.NODE_ENV === "development";
|
||||
export const isTestEnvironment = Boolean(
|
||||
|
|
@ -7,7 +5,3 @@ export const isTestEnvironment = Boolean(
|
|||
process.env.PLAYWRIGHT ||
|
||||
process.env.CI_PLAYWRIGHT
|
||||
);
|
||||
|
||||
export const guestRegex = /^guest-\d+$/;
|
||||
|
||||
export const DUMMY_PASSWORD = generateDummyPassword();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue