[password-resets] It comes as a string from gnome_ldap_utils



commit 783ef5cecbac8684399cb9371c7d694141a5ae61
Author: Andrea Veri <averi redhat com>
Date:   Fri Mar 25 13:56:20 2022 +0100

    It comes as a string from gnome_ldap_utils

 app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app.py b/app.py
index be1af6b..b8b5332 100644
--- a/app.py
+++ b/app.py
@@ -72,7 +72,7 @@ def form_post(request: Request, username: str = Form(...)):
             Session.commit()
             Session.remove()
 
-            send_email(mail.decode('utf-8'), token)
+            send_email(mail, token)
 
     return templates.TemplateResponse('general-form.html', context={'request': request, 'submitted': True})
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]