We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab00a1d commit c14d5adCopy full SHA for c14d5ad
app/services/auth/login.ts
@@ -1,5 +1,5 @@
1
import { AppDB } from '../db/utilities';
2
-import { pbkdf2Sync } from 'crypto';
+import { pbkdf2Sync } from 'node:crypto';
3
4
export const login = async (username: string, password: string, db: AppDB) => {
5
const user = await db.query.users.findFirst({
wrangler.toml
@@ -3,6 +3,8 @@ name = "math-rock-stack"
compatibility_date = "2024-05-02"
pages_build_output_dir = "./build/client"
6
+compatibility_flags = [ "nodejs_compat" ]
7
+
8
[vars]
9
CLOUDFLARE_ACCOUNT_ID = "887644ede3080f7152aa22e9ecf52f0f"
10
0 commit comments