mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Change token data to expiration
This commit is contained in:
parent
6b777754e5
commit
7f6126432b
1 changed files with 1 additions and 1 deletions
|
@ -331,5 +331,5 @@ class ObtainExpiringAuthToken(ObtainAuthToken):
|
||||||
|
|
||||||
return Response({
|
return Response({
|
||||||
'token': token.key,
|
'token': token.key,
|
||||||
'expiration_date': token.created + token_duration
|
'expiration': token.created + token_duration
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue