Logout endpoint (alias for /api/admin/logout)
(response: Response, token: str = Depends(verify_admin_token))
| 1453 | auto_refresh_enabled=item.auto_refresh_enabled, |
| 1454 | refresh_interval_minutes=item.refresh_interval_minutes, |
| 1455 | ) |
| 1456 | should_enable = item.is_active and not is_expired |
| 1457 | if not should_enable: |
| 1458 | await token_manager.disable_token(new_token.id) |
| 1459 | new_token.is_active = False |
| 1460 | if concurrency_manager: |
nothing calls this directly
no test coverage detected