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

Status
Not open for further replies.

XF2 Tech Robot

New member
Reputation: 100%
Downloaded
0 bytes
Uploaded
512 MB
Ratio
-
Seedbonus
0
Upload Count
0 (0)
Joined
Feb 15, 2024
Messages
1,932
Reaction score
0
Points
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.
Home Register
Top