mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Merge pull request #6347 from turbo124/v5-develop
Fixes for connected accounts
This commit is contained in:
commit
afc71037dc
@ -107,7 +107,7 @@ class ConnectedAccountController extends BaseController
|
||||
$email = $google->harvestEmail($user);
|
||||
|
||||
if(auth()->user()->email != $email && MultiDB::checkUserEmailExists($email))
|
||||
return response()->json(['message' => ctrans('texts.email_already_register')], 400)
|
||||
return response()->json(['message' => ctrans('texts.email_already_register')], 400);
|
||||
|
||||
$connected_account = [
|
||||
'email' => $email,
|
||||
|
Loading…
Reference in New Issue
Block a user