mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Prevent duplicate confirmation email
This commit is contained in:
parent
167d005373
commit
463d8844a1
@ -46,7 +46,7 @@ class HandleUserSignedUp
|
|||||||
{
|
{
|
||||||
$user = Auth::user();
|
$user = Auth::user();
|
||||||
|
|
||||||
if (Utils::isNinjaProd()) {
|
if (Utils::isNinjaProd() && ! $user->confirmed) {
|
||||||
$this->userMailer->sendConfirmation($user);
|
$this->userMailer->sendConfirmation($user);
|
||||||
} elseif (Utils::isNinjaDev()) {
|
} elseif (Utils::isNinjaDev()) {
|
||||||
// do nothing
|
// do nothing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user