Running processes: add a "HOME" envvar (may be required in some environments).
This commit is contained in:
parent
4f84b4c5d6
commit
494b0b3719
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user