Fix syntax error
This commit is contained in:
parent
e09d5f1723
commit
69c920ab12
@ -81,7 +81,7 @@ class LDAPUserExists(BasePermission):
|
|||||||
exists.
|
exists.
|
||||||
'''
|
'''
|
||||||
def has_permission(self, request, view):
|
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):
|
def create_user(*args, **kwargs):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user