Add registration page, fix auth paths, and improve navigation

This commit is contained in:
Torsten Schulz (local)
2025-10-21 11:31:43 +02:00
parent 2b249577a7
commit f058516a3d
86 changed files with 2914 additions and 531 deletions

14
scripts/hash-password.js Normal file
View File

@@ -0,0 +1,14 @@
import bcrypt from 'bcryptjs'
const password = process.argv[2] || 'admin123'
bcrypt.hash(password, 10, (err, hash) => {
if (err) {
console.error('Fehler:', err)
return
}
console.log('\nPasswort:', password)
console.log('Hash:', hash)
console.log('\nKopieren Sie diesen Hash in server/data/users.json\n')
})