This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Dan Singerman dbf2f4efec Fix bug when sso_overrides_avatar is true but no avatar_url is passed
If a user has a current avatar, and sso_overrides_avatar is true, but no avatar_url is
passed in the sso attributes, the current code errors, as it tries to parse a nil
as a URL. It seems to me valid that a third party system may not pass an avatar_url in
some cases (e.g. avatars may not be mandatory, so not all users may have them)

This might warrant a discussion about what should happen in this case; maybe the current
avatar in discourse should be removed? This branch merely stops the login process erroring.
2015-01-28 16:01:39 +00:00
..
assets FIX: suspended users are logged out when they are suspended. Show a reason for suspension when they try to log in. 2015-01-19 12:37:02 -05:00
controllers FIX: suspended users are logged out when they are suspended. Show a reason for suspension when they try to log in. 2015-01-19 12:37:02 -05:00
helpers remove image opengraph tags 2014-12-24 00:30:55 -08:00
jobs UX: add file size in CSV export notification 2015-01-19 19:21:53 +05:30
mailers remove enable_email_names setting 2015-01-13 13:35:40 +05:30
models Fix bug when sso_overrides_avatar is true but no avatar_url is passed 2015-01-28 16:01:39 +00:00
serializers FEATURE: bookmark topic button 2015-01-12 12:10:15 +01:00
services FEATURE: Log username changes by staff 2015-01-17 02:26:12 -08:00
views Rename no_js layout to no_ember 2015-01-15 15:56:53 -05:00