Commit eb859d07 authored by Leigh Stoller's avatar Leigh Stoller

Generate unencrypted cert for nonlocal users so the event system

does not croak for them.
parent 8edf9fee
......@@ -523,14 +523,14 @@ sub AddUser()
system("$ADDMMUSER $user")
if ($MAILMANSUPPORT);
# Generate the SSL cert for the user.
system("$MKUSERCERT $user");
if ($isnonlocal) {
$EUID = 0;
goto skipstuff;
}
# Generate the SSL cert for the user.
system("$MKUSERCERT $user");
#
# If the user requested an initial encrypted SSL certificate, create
# that too. Need to delete the initial_passphrase slot though, so that
......
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