Preserve host updates across sign-out and report pending kernel activation

This commit is contained in:
VAIO73
2026-10-28 17:30:44 +00:00
parent 2d4b0cb746
commit f40e0a53e1
24 changed files with 1605 additions and 18 deletions
+2
View File
@@ -50,6 +50,7 @@ def require_auth(f):
auth_header = request.headers.get('Authorization')
if not auth_header:
verify_token_full(None) # Guarded, credential-free rejection diagnostic.
return jsonify({
"error": "Authentication required",
"message": "No authorization header provided"
@@ -58,6 +59,7 @@ def require_auth(f):
# Extract token from "Bearer <token>" format
parts = auth_header.split()
if len(parts) != 2 or parts[0].lower() != 'bearer':
verify_token_full(None)
return jsonify({
"error": "Invalid authorization header",
"message": "Authorization header must be in format: Bearer <token>"