Update jwt

This commit is contained in:
MacRimi
2026-03-15 20:43:05 +01:00
parent b7203b8219
commit 602afc2954
6 changed files with 25 additions and 192 deletions

View File

@@ -11,13 +11,7 @@ import threading
import time
from flask import Blueprint, jsonify, request
import auth_manager
# Try PyJWT first, fall back to our simple implementation
try:
import jwt
except ImportError:
import simple_jwt as jwt
import jwt
import datetime
# Dedicated logger for auth failures (Fail2Ban reads this file)