From 69c920ab1220916782888e0cef5b363ad67bcd3d Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Tue, 10 Nov 2020 11:28:43 +0100 Subject: [PATCH] Fix syntax error --- myauth/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myauth/ldap.py b/myauth/ldap.py index 9cd8e55..a53adfd 100644 --- a/myauth/ldap.py +++ b/myauth/ldap.py @@ -81,7 +81,7 @@ class LDAPUserExists(BasePermission): exists. ''' def has_permission(self, request, view): - return LDAPConnection.get_instance().has_user(request.user.username): + return LDAPConnection.get_instance().has_user(request.user.username) def create_user(*args, **kwargs): '''