This commit is contained in:
STEINNI
2025-09-11 20:39:52 +00:00
parent d4243685b6
commit 8cfa7f41e4
3 changed files with 155 additions and 26 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const argon2 = require('argon2')
import argon2 from 'argon2'
// --- Hash a password (e.g. at signup) ---
export async function hashPassword(plainPassword) {