]> git.proxmox.com Git - proxmox.git/commit
tfa: also reset counters when unlocking tfa
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 4 Jul 2023 11:23:53 +0000 (13:23 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 4 Jul 2023 12:45:18 +0000 (14:45 +0200)
commit8547ee31da6f994ffaabc44193c9d5bdaa4533e4
treeba1285ccef92e1e9f357c5db8b6b48c2a4354dbe
parent415d60daf972bcd2b2bdd05b9fae0a6f6ae58d1d
tfa: also reset counters when unlocking tfa

Since this requires access to the user data, we need to add
a generic parameter to the unlock methods.
To avoid having to create another major API bump affecting
all our products this short after release, we keep the old
version around with the old behavior.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-tfa/src/api/methods.rs
proxmox-tfa/src/api/mod.rs