Remove debug code from login function and update password hashing method to use PBKDF2 in User model

This commit is contained in:
Hamit Şimşek
2025-11-01 00:27:21 +03:00
parent 986db6d7b5
commit a7d880c97e
3 changed files with 2 additions and 15 deletions

View File

@@ -79,12 +79,7 @@ class MailService:
'X-Priority': '1',
'X-MSMail-Priority': 'High'
}
try:
self.logger.warning(f"MAIL_PASSWORD is {current_app.config.get('MAIL_PASSWORD')}")
except Exception:
pass
# Send email
self.mail.send(msg)