Commit 7f612643 authored by Maël Kervella's avatar Maël Kervella

Change token data to expiration

parent 6b777754
......@@ -331,5 +331,5 @@ class ObtainExpiringAuthToken(ObtainAuthToken):
return Response({
'token': token.key,
'expiration_date': token.created + token_duration
'expiration': token.created + token_duration
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment