1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Prevent duplicate confirmation email

This commit is contained in:
Hillel Coren 2017-07-09 13:17:44 +03:00
parent 167d005373
commit 463d8844a1

View File

@ -46,7 +46,7 @@ class HandleUserSignedUp
{
$user = Auth::user();
if (Utils::isNinjaProd()) {
if (Utils::isNinjaProd() && ! $user->confirmed) {
$this->userMailer->sendConfirmation($user);
} elseif (Utils::isNinjaDev()) {
// do nothing