8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-20 17:42:26 +00:00

Change token data to expiration

This commit is contained in:
Maël Kervella 2018-05-24 17:56:00 +00:00
parent 6b777754e5
commit 7f6126432b

View file

@ -331,5 +331,5 @@ class ObtainExpiringAuthToken(ObtainAuthToken):
return Response({
'token': token.key,
'expiration_date': token.created + token_duration
'expiration': token.created + token_duration
})