mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 10:39:28 +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
|
||||
if ($this->auth->user() instanceof User) {
|
||||
$email = $this->auth->user()->email;
|
||||
|
||||
$address = route('index');
|
||||
// send email.
|
||||
Mail::send(
|
||||
['emails.registered-html','emails.registered'], [], function (Message $message) use ($email) {
|
||||
$message->to($email, $email)->subject('Welcome to Firefly III!');
|
||||
['emails.registered-html', 'emails.registered'], ['address' => $address], function (Message $message) use ($email) {
|
||||
$message->to($email, $email)->subject('Welcome to Firefly III! ');
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user