[password-resets] It comes as a string from gnome_ldap_utils
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [password-resets] It comes as a string from gnome_ldap_utils
- Date: Fri, 25 Mar 2022 12:56:27 +0000 (UTC)
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]