]> git.proxmox.com Git - flutter/proxmox_login_manager.git/commit
saved login: don't give outdated ticket to login form
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 4 Jul 2023 13:53:17 +0000 (15:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 Jul 2023 15:08:11 +0000 (17:08 +0200)
commit361bc4aecfcab7f1623a6c09161544680e2f9fbe
tree3d6d9aff3f6be22242b1cbe244fc5fd0007cc14d
parent15d7e1f8c8e895ef50f1ef0ace4f0a101fd2428b
saved login: don't give outdated ticket to login form

if the user was logged in in the past, but that ticket expired, we still
gave the expired ticket to the login form which tried to login with
that, producing a login error the first time the user pressed login.

we already get the correct ticket in a variable, so use that.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
lib/proxmox_login_selector.dart