Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
use OAUTH_ENDPOINT env var to control fxa tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Mar 10, 2016
1 parent ca64589 commit 2d27d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/includes/fxa_sign_in_link.html
@@ -1,7 +1,7 @@
{% load socialaccount %}
<div class="sign-in-area">
<a class="button sign-in-btn" href="{% provider_login_url "fxa" %}?next={{ request.path }}">Sign in with <i class="fa fa-firefox"></i> Firefox Account</a>
{% if debug %}
{% if 'dev.lcip.org' in settings.SOCIALACCOUNT_PROVIDERS.fxa.OAUTH_ENDPOINT %}
<div class="callout warning sign-in-tooltip">Note: Using dev FxA Environment</div>
{% endif %}
</div>

0 comments on commit 2d27d50

Please sign in to comment.