Commit 3e3c0939 authored by root's avatar root

fix: preserve sudo service

parent 05a5dc5f
......@@ -662,7 +662,7 @@ class SuperUser(FormView):
email = form['email'].value()
password = form['password'].value()
# Always give superuser cron and sshd autorization
services = ['cron', 'sshd']
services = ['cron', 'sshd', 'sudo']
for service in ['openvpn', 'apache']:
if service in form.fields and form[service].value():
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment