Running processes: add a "HOME" envvar (may be required in some environments).

master
Philippe Pittoli 2024-02-16 02:04:12 +01:00
parent 4f84b4c5d6
commit 494b0b3719
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class AuthD::Request
# PARAMETERS
[ "send", template_name, u_email ],
# ENV
{ "LOGIN" => u_login, "TOKEN" => u_activation_key },
{ "HOME" => "/", "LOGIN" => u_login, "TOKEN" => u_activation_key },
true # clear environment
).success?
raise "cannot contact user #{u_login} address #{u_email}"