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:
parent
167d005373
commit
463d8844a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user