]> git.proxmox.com Git - pve-access-control.git/commit - src/PVE/AccessControl.pm
authenticate_user: pass undef instead of empty $tfa_challenge to authenticate_2nd_new
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 21 Oct 2022 08:31:17 +0000 (10:31 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 21 Oct 2022 08:44:08 +0000 (10:44 +0200)
commit965b2418eeeb0d29dad8cbc4081316e925eebae3
tree9f2853fc9b301dc61784033f85eb37028bfb9c24
parent61565fb2c543092658f4ab449f8cb35688a770ff
authenticate_user: pass undef instead of empty $tfa_challenge to authenticate_2nd_new

just above, we check & return if $tfa_challenge is set, so there is no
way that it would be set here. To make it clearer that it must be undef
here pass it as such.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/AccessControl.pm