[Kimchi-devel] [PATCH] [Wok] Bug fix #207: Fix LDAPUser class initialization

Aline Manera alinefm at linux.vnet.ibm.com
Wed Mar 15 12:58:03 UTC 2017


It was wrongly calling PAMUser instance on LDAPUser class
initialization.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 src/wok/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wok/auth.py b/src/wok/auth.py
index 976d729..0ad1893 100644
--- a/src/wok/auth.py
+++ b/src/wok/auth.py
@@ -192,7 +192,7 @@ class LDAPUser(User):
     auth_type = "ldap"
 
     def __init__(self, username):
-        super(PAMUser, self).__init__(username)
+        super(LDAPUser, self).__init__(username)
 
     @staticmethod
     def authenticate(username, password):
-- 
2.9.3



More information about the Kimchi-devel mailing list