diff options
author | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-23 07:43:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-23 07:43:35 +0300 |
commit | 218fbe09324de91d447f125ee06aa6c87eb9c58c (patch) | |
tree | 3ad67981c504ad74de90a58ae33fa8d952584db6 /python/vyos/opmode.py | |
parent | f19a531e389b98509e9ccdba3e6b32c72fe25eae (diff) | |
download | vyos-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 'python/vyos/opmode.py')
0 files changed, 0 insertions, 0 deletions