mirror of
https://github.com/fergalmoran/dss.api.git
synced 2026-01-06 16:43:56 +00:00
Upped JWT expiration to 30 minutes
This commit is contained in:
7
spa/models/session.py
Normal file
7
spa/models/session.py
Normal 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)
|
||||
Reference in New Issue
Block a user