]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/Auth/PVE.pm
add basic support for two factor auth
[pve-access-control.git] / PVE / Auth / PVE.pm
index 5f60cf36c134931b73e7981559d37125bdd5290b..7f03b9e531881dd976499353975437bec04aaaa3 100755 (executable)
@@ -62,10 +62,11 @@ sub type {
     return 'pve';
 }
 
-sub defaults {
+sub options {
     return {
        default => { optional => 1 },
        comment => { optional => 1 },
+       tfa => { optional => 1 },
     };
 }