Added revoking token during logout

This commit is contained in:
Marcin-Ramotowski
2025-03-29 17:16:06 +00:00
parent e0c8924384
commit 5d45fcf932
4 changed files with 32 additions and 4 deletions

View File

@ -1,6 +1,7 @@
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
revoked_tokens = set()
class User(db.Model):
id = db.Column(db.Integer, primary_key=True, autoincrement=True)