Updated new user email wording

Change-Id: I67dfe985ffa9fe3da64f2e6cd10b7e26f0470634
Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
smarcet 2020-09-01 19:24:10 -03:00
parent 1389977471
commit cd1a69db5d
3 changed files with 8 additions and 5 deletions

View File

@ -56,7 +56,7 @@ final class WelcomeNewUserEmail extends Mailable
{
$subject = Config::get("mail.welcome_new_user_email_subject");
if (empty($subject))
$subject = sprintf("%s registration confirmation", Config::get('app.app_name'));
$subject = sprintf("Thank you for registering for an %s account", Config::get('app.app_name'));
return $this->from(Config::get("mail.from"))
->to($this->user_email)

View File

@ -79,9 +79,10 @@ final class EventServiceProvider extends ServiceProvider
$user_service = App::make(IUserService::class);
$user_service->generateIdentifier($user);
Mail::queue(new WelcomeNewUserEmail($user));
if(!$user->isEmailVerified()) {
Mail::queue(new WelcomeNewUserEmail($user));
if (!$user->hasCreator())
$user_service->sendVerificationEmail($user);
}

View File

@ -5,10 +5,12 @@
</head>
<body>
<p>Dear {!!$user_fullname!!},</p>
<p>Thank you for registering with {!! Config::get('app.app_name') !!}!</p>
<p>You will receive an email verification message shortly, which will allow you to activate your account.</p>
<p>Thank you for registering for a new {!! Config::get('app.app_name') !!} account. We are glad youre here!</p>
<p>You will use this account to access all {!! Config::get('app.tenant_name') !!} apps that require an FNid to access. Your user details are associated with your {!! Config::get('app.app_name') !!} and you are able to grant access to that information to each app at your discretion.</p>
<p>To edit your profile just click <a href="{!! URL::action("UserController@getLogin") !!}">here</a>. You may update your photo, add a bio, and other information you wish to share.</p>
<p>Should you have any questions, please email <a href="mailto:{!! Config::get('app.help_email') !!}">{!! Config::get('app.help_email') !!}</a>for assistance.
<br/>
<br/>
<p>Cheers,<br/>Your {!! Config::get('app.tenant_name') !!} Support Team</p>
<p>Thanks!,<br/>Your {!! Config::get('app.tenant_name') !!} Support Team</p>
</body>
</html>