Upped JWT expiration to 30 minutes

This commit is contained in:
Fergal Moran
2015-07-17 20:29:12 +01:00
parent 10408a10fe
commit 60907f2db0
5 changed files with 36 additions and 10 deletions

7
spa/models/session.py Normal file
View File

@@ -0,0 +1,7 @@
from django.db import models
from spa.models import BaseModel, UserProfile
class Session(BaseModel):
jwt_token = models.CharField(max_length=2048)
user = models.ForeignKey(UserProfile)