# Sso overrides avatar

**URL:** <https://meta.discourse.org/t/sso-overrides-avatar/56715>\
**Category:** WordPress\
**Created:** [February 1, 2017, 2:14pm UTC](https://meta.discourse.org/t/sso-overrides-avatar/56715 "2017-02-01T14:14:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mie\_Goreng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mie_goreng/32/139100_2.png) [@Mie\_Goreng](https://meta.discourse.org/u/Mie_Goreng)\
**Post date:** [February 2, 2017, 5:50am UTC](https://meta.discourse.org/t/sso-overrides-avatar/56715/5 "2017-02-02T05:50:44Z")

</div>

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.

---

_[View the full topic](https://meta.discourse.org/t/sso-overrides-avatar/56715)._
