Skip to content

Commit f2c9d20

Browse files
author
Massimiliano Pippi
committed
fixed english grammar
1 parent 26bc8ac commit f2c9d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _authenticate_basic_auth(self, request):
5757
client_id, client_secret = map(unquote_plus, auth_string_decoded.split(':', 1))
5858

5959
if self._load_application(client_id, request) is None:
60-
log.debug("Failed basic auth: Application %s do not exists" % client_id)
60+
log.debug("Failed basic auth: Application %s does not exist" % client_id)
6161
return False
6262
elif request.client.client_secret != client_secret:
6363
log.debug("Failed basic auth: wrong client secret %s" % client_secret)
@@ -98,7 +98,7 @@ def _load_application(self, client_id, request):
9898
request.client = request.client or Application.objects.get(client_id=client_id)
9999
return request.client
100100
except Application.DoesNotExist:
101-
log.debug("Failed body authentication: Application %s do not exists" % client_id)
101+
log.debug("Failed body authentication: Application %s does not exist" % client_id)
102102
return None
103103

104104
def client_authentication_required(self, request, *args, **kwargs):

0 commit comments

Comments
 (0)