opencode ergebnis V0.1
This commit is contained in:
1 parent
61d86a3d83
commit
7e498ebc3f
71 files changed
+28982
-46
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user