[Kimchi-devel] [PATCH] [Wok] Bug fix #207: Fix LDAPUser class initialization
Lucio Correia
luciojhc at linux.vnet.ibm.com
Wed Mar 15 13:06:08 UTC 2017
Reviewed-By: Lucio Correia <luciojhc at 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 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):
>
--
Lucio Correia
More information about the Kimchi-devel
mailing list