8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +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
})