update simple_jwt

This commit is contained in:
MacRimi
2026-03-15 20:00:10 +01:00
parent 513774bb7b
commit b7203b8219
5 changed files with 162 additions and 4 deletions

View File

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