mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
New code for auth controller [skip ci]
This commit is contained in:
@@ -92,11 +92,11 @@ class AuthController extends Controller
|
|||||||
// get the email address
|
// get the email address
|
||||||
if ($this->auth->user() instanceof User) {
|
if ($this->auth->user() instanceof User) {
|
||||||
$email = $this->auth->user()->email;
|
$email = $this->auth->user()->email;
|
||||||
|
$address = route('index');
|
||||||
// send email.
|
// send email.
|
||||||
Mail::send(
|
Mail::send(
|
||||||
['emails.registered-html','emails.registered'], [], function (Message $message) use ($email) {
|
['emails.registered-html', 'emails.registered'], ['address' => $address], function (Message $message) use ($email) {
|
||||||
$message->to($email, $email)->subject('Welcome to Firefly III!');
|
$message->to($email, $email)->subject('Welcome to Firefly III! ');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user