Skip to content
Snippets Groups Projects
Commit 1f5c6f16 authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX] auth_ldap: remove unused sql column

parent ee4c67dc
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ class users(osv.osv):
return user_id
registry = RegistryManager.get(db)
with registry.cursor() as cr:
cr.execute("SELECT id, active FROM res_users WHERE lower(login)=%s", (login,))
cr.execute("SELECT id FROM res_users WHERE lower(login)=%s", (login,))
res = cr.fetchone()
if res:
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment