Skip to content

Commit f31e024

Browse files
Add TODO for email format and password strength validation
1 parent 3a93990 commit f31e024

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

project/backend/LazyCookVerwaltung.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def anmelden(user: UserSignUpIn):
8686
async def registrieren(user: UserSignUpIn):
8787
salt, password = hash_password(user.password)
8888

89+
# TODO: Validierung machen: Email-Format prüfen, Passwortstärke prüfen
90+
8991
try:
9092
message = datenbank.addNutzer(user.email, salt, password)
9193
except Exception as e:

0 commit comments

Comments
 (0)