[password-resets] Missing extra )



commit 04580ad55974e7d39531a053bfb82733f09980a2
Author: Andrea Veri <averi redhat com>
Date:   Wed Sep 1 18:08:27 2021 +0200

    Missing extra )

 app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app.py b/app.py
index 683c23c..be1af6b 100644
--- a/app.py
+++ b/app.py
@@ -55,7 +55,7 @@ def form_post(request: Request, username: str = Form(...)):
     mail = glu.get_attributes_from_ldap(username, 'mail')
     if mail:
         infrateam = list(set.union(glu.get_group_from_ldap('accounts'), glu.get_group_from_ldap('sysadmin'), 
\
-                          glu.get_group_from_ldap('admins'))
+                          glu.get_group_from_ldap('admins')))
 
         if username not in infrateam:
             tokens = Session.query(Token.username, Token.expired, 
Token.claimed).filter(Token.username==username, Token.expired==0, Token.claimed==0)


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