This commit is contained in:
Nicolas 2015-01-28 14:31:16 -03:00
parent e268c1c047
commit 737db08fa6

View file

@ -97,7 +97,7 @@ class AuthorizeEndpoint(object):
code.user = self.request.user
code.client = self.client
code.code = uuid.uuid4().hex
code.expires_at = timezone.now() + timedelta(seconds=60*10) # TODO: Add this into settings.
code.expires_at = timezone.now() + timedelta(seconds=60*10) # TODO: Add this into settings.
code.scope = self.params.scope
code.save()