[pve-devel] applied: [PATCH manager v2] ui: properly reset API 401 count

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Oct 29 14:34:38 CET 2025


On Wed, 29 Oct 2025 14:12:40 +0100, Dominik Csapak wrote:
> due to a timing race condition, it can happen that we try to increase
> the 401 count before resetting it (which happens after the first
> ticket api call). Since `undefined + ` === NaN, our later check for
> `> 5` never triggers and we don't show the login mask, but an empty
> window.
> 
> To fix this, initialize the variable always with 0.
> 
> [...]

Applied with Fiona's R-b, thanks!

[1/1] ui: properly reset API 401 count
      commit: 566412124a846f42420e013e5191224d4bd88c61




More information about the pve-devel mailing list