switched to imports, debugged sessions

This commit is contained in:
STEINNI
2025-09-03 20:49:15 +00:00
parent f90a1f5065
commit 4cb56c8cbd
6 changed files with 225 additions and 184 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import argon2 from 'argon2'
const argon2 = require('argon2')
// --- Hash a password (e.g. at signup) ---
export async function hashPassword(plainPassword) {