mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Fix #5042
This commit is contained in:
@@ -63,7 +63,7 @@ class APIEventHandler
|
|||||||
// see if user has alternative email address:
|
// see if user has alternative email address:
|
||||||
$pref = app('preferences')->getForUser($user, 'remote_guard_alt_email');
|
$pref = app('preferences')->getForUser($user, 'remote_guard_alt_email');
|
||||||
if (null !== $pref) {
|
if (null !== $pref) {
|
||||||
$email = $pref->data;
|
$email = (string)(is_array($pref->data) ? $email : $pref->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log::debug(sprintf('Now in APIEventHandler::accessTokenCreated. Email is %s, IP is %s', $email, $ipAddress));
|
Log::debug(sprintf('Now in APIEventHandler::accessTokenCreated. Email is %s, IP is %s', $email, $ipAddress));
|
||||||
|
Reference in New Issue
Block a user