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

This commit is contained in:
Philippe Pittoli 2024-02-16 02:04:12 +01:00
parent 4f84b4c5d6
commit 494b0b3719

View File

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