From 494b0b37198bfc2cee867f7ad8b396e26195da1e Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Fri, 16 Feb 2024 02:04:12 +0100 Subject: [PATCH] Running processes: add a "HOME" envvar (may be required in some environments). --- src/requests/register.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/requests/register.cr b/src/requests/register.cr index d2cd36c..f799ec5 100644 --- a/src/requests/register.cr +++ b/src/requests/register.cr @@ -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}"