summaryrefslogtreecommitdiff
path: root/src/op_mode/powerctrl.py
diff options
context:
space:
mode:
authormergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-23 07:43:35 +0300
committerGitHub <noreply@github.com>2024-07-23 07:43:35 +0300
commit218fbe09324de91d447f125ee06aa6c87eb9c58c (patch)
tree3ad67981c504ad74de90a58ae33fa8d952584db6 /src/op_mode/powerctrl.py
parentf19a531e389b98509e9ccdba3e6b32c72fe25eae (diff)
downloadvyos-1x-218fbe09324de91d447f125ee06aa6c87eb9c58c.tar.gz
vyos-1x-218fbe09324de91d447f125ee06aa6c87eb9c58c.zip
openvpn: T3834: verify() is not allowed to change anything on the system (#3851)
Commit e3c71af1466 ("remove secrets file if the tunnel is deleted and fix opmode commands") added a code path into verify() which removed files on the system if TOTP was not defined. This commit moves the code path to the appropriate generate() function. (cherry picked from commit 40c835992db9217f48e54dbbf15a7fbf1dcba482) Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'src/op_mode/powerctrl.py')
0 files changed, 0 insertions, 0 deletions