diff --git a/src/app/Mail/SignupVerification.php b/src/app/Mail/SignupVerification.php --- a/src/app/Mail/SignupVerification.php +++ b/src/app/Mail/SignupVerification.php @@ -31,8 +31,10 @@ */ public function build() { + $tenantId = \config('app.tenant_id'); $href = Utils::serviceUrl( - sprintf('/signup/%s-%s', $this->code->short_code, $this->code->code) + sprintf('/signup/%s-%s', $this->code->short_code, $this->code->code), + $tenantId ); $username = $this->code->first_name ?? ''; @@ -42,7 +44,7 @@ $username = trim($username); $vars = [ - 'site' => \config('app.name'), + 'site' => \App\Tenant::getConfig($tenantId, 'app.name'), 'name' => $username ?: 'User', ];