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


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to