opencode ergebnis V0.1

This commit is contained in:
concierge committed 2026-10-23 00:05:06 +02:00
1 parent 61d86a3d83
commit 7e498ebc3f
71 files changed
+28982 -46

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
"""
Authentifizierungs-Hilfsfunktionen
"""
from werkzeug.security import generate_password_hash, check_password_hash
def hash_password(password):
"""Erstellt einen Passwort-Hash"""
return generate_password_hash(password)
def verify_password(password_hash, password):
"""Überprüft ein Passwort gegen den Hash"""
return check_password_hash(password_hash, password)