Reviewed-By: Lucio Correia <luciojhc(a)linux.vnet.ibm.com>
On 15/03/2017 09:58, Aline Manera wrote:
It was wrongly calling PAMUser instance on LDAPUser class
initialization.
Signed-off-by: Aline Manera <alinefm(a)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):
--
Lucio Correia