switched to imports, debugged sessions

This commit is contained in:
STEINNI
2025-09-03 20:49:15 +00:00
parent 69caf77c3b
commit af290ff3cd
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) {