mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fix reddit flair issues
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -143,7 +143,7 @@ setup.</p>
|
||||
<a href="{% url reddit.views.reddit_add %}" class="button">Add a Reddit account</a>
|
||||
</p>
|
||||
<p>
|
||||
Reddit account tagging is {% if user.profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. <a href="{% url sso.views.toggle_reddit_tagging %}">{% if user.profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %}</a>
|
||||
Reddit account tagging is {% if user.get_profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. <a href="{% url sso.views.toggle_reddit_tagging %}">{% if user.get_profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %}</a>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user