mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Additional logging for Microsoft acccounts
This commit is contained in:
parent
9d9f9e6a6b
commit
2ffc4cb68d
@ -110,6 +110,9 @@ class ConnectedAccountController extends BaseController
|
||||
|
||||
$email = $user->getMail() ?: $user->getUserPrincipalName();
|
||||
|
||||
nlog("microsoft");
|
||||
nlog($email);
|
||||
|
||||
if(auth()->user()->email != $email && MultiDB::checkUserEmailExists($email))
|
||||
return response()->json(['message' => ctrans('texts.email_already_register')], 400);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user