Here is my code:
sso.avatar_url = current_user.photo.thumb.url
A user logs into the discourse for the first time, their avatar does not change.
They log out.
Now on logging back in again, the avatar is changed. Is there anyway to get this to work from the first login instead of them having to log out and back in again before seeing the avatar changed?