diff --git a/app/sso/templates/sso/profile.html b/app/sso/templates/sso/profile.html index 767eb5f..e727bc0 100644 --- a/app/sso/templates/sso/profile.html +++ b/app/sso/templates/sso/profile.html @@ -142,6 +142,8 @@ setup.
++Reddit account tagging is {% if user.profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. {% if user.profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %} {% endif %} {% endblock %} diff --git a/app/sso/views.py b/app/sso/views.py index c0c3745..a64fdd7 100644 --- a/app/sso/views.py +++ b/app/sso/views.py @@ -294,6 +294,7 @@ def primarychar_change(request): def toggle_reddit_tagging(request): profile = request.user.get_profile() profile.tag_reddit_accounts = not profile.tag_reddit_accounts + profile.save() if profile.tag_reddit_accounts: tag = 'Enabled' else: