Fix syntax error

This commit is contained in:
PapaTutuWawa 2020-11-10 11:28:43 +01:00
parent e09d5f1723
commit 69c920ab12

View File

@ -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):
'''