XF / News "Register using Google" (and probably others) creates xf_ip entry for action "avatar_update" with user_id=0

Status
Not open for further replies.

Bots

Registered
Joined
May 3, 2024
Messages
3,680
Reaction score
1
XF\Pub\Controller::setupConnectedRegistration calls XF\Service\User\Registration::applyAvatarFromUrl which in turn calls XF\Service\Avatar::updateAvatar which finally calls its own writeIpLog method. It seems like at this point in time XF::visitor()->user_id is still 0 which causes entries in xf_ip with action = avatar_update and user_id = 0. This log entry is wrong and probably unnecessary because later on another entry with...

Read more

Continue reading...
 
Status
Not open for further replies.
Top