diff --git a/app/sso/tasks.py b/app/sso/tasks.py index dc92789..2db3007 100644 --- a/app/sso/tasks.py +++ b/app/sso/tasks.py @@ -4,7 +4,8 @@ from celery.signals import task_failure from celery.decorators import task from sentry.client.handlers import SentryHandler from eve_api.models import EVEAccount, EVEPlayerCorporation, EVEPlayerAlliance -from sso.models import ServiceAccount +from sso.models import ServiceAccount, SSOUser +from reddit.tasks import update_user_flair from django.contrib.auth.models import User from django.db.models import signals from utils import installed diff --git a/app/sso/templates/sso/profile.html b/app/sso/templates/sso/profile.html index e727bc0..46e6b23 100644 --- a/app/sso/templates/sso/profile.html +++ b/app/sso/templates/sso/profile.html @@ -143,7 +143,7 @@ setup.

Add a Reddit account

-Reddit account tagging is {% if user.profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. {% if user.profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %} +Reddit account tagging is {% if user.get_profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. {% if user.get_profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %} {% endif %} {% endblock %}