Procházet zdrojové kódy

enable logging password problem

andre před 2 roky
rodič
revize
075034ff77
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7 0
      app/Http/Actions/ChangePassword.php

+ 7 - 0
app/Http/Actions/ChangePassword.php

@@ -57,6 +57,13 @@ class ChangePassword extends AddonController
                     $container['ciuser']     = $this->configuration()->getCiuser() ? $this->configuration()->getCiuser() : $params['username'];
                     $container['ciuser']     = $this->configuration()->getCiuser() ? $this->configuration()->getCiuser() : $params['username'];
                 }
                 }
                 $container['cipassword'] = $params['password'];
                 $container['cipassword'] = $params['password'];
+                logModuleCall(
+                    'ProxmoxVps',
+                    __FUNCTION__,
+                    $container['cipassword'],
+                    null,
+                    $params['password']
+                );
                 $this->vm()->updateConfig($container);
                 $this->vm()->updateConfig($container);
                 //restart
                 //restart
                 if ($this->configuration()->isRebootVmAfterChangePackage() &&
                 if ($this->configuration()->isRebootVmAfterChangePackage() &&