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

This topic has been solved
S

Steffen

Guest
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...