New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration to python social auth #141 #227
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,36 +128,36 @@ <h1><a href="#">{{ SITE_NAME }}</a></h1> | |
</p> | ||
|
||
{% if SOCIAL_AUTH_ENABLED %} | ||
<p class="social-buttons"> | ||
{% if FACEBOOK_ENABLED %} | ||
<a href="{% url "socialauth_begin" "facebook" %}" class="btn btn-social btn-facebook"> | ||
<span class="icon icon-facebook"></span> | ||
<span class="text">{% trans 'Sign up with Facebook' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
<p class="social-buttons"> | ||
{% if FACEBOOK_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<a href="{% url 'social:begin' 'facebook' %}" class="btn btn-social btn-facebook"> | ||
<span class="icon icon-facebook"></span> | ||
<span class="text">{% trans 'Sign up with Facebook' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
|
||
{% if GOOGLE_ENABLED %} | ||
<a href="{% url "socialauth_begin" "google-oauth2" %}" class="btn btn-social btn-google"> | ||
<span class="icon icon-google"></span> | ||
<span class="text">{% trans 'Sign up with Google' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
{% if GOOGLE_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<a href="{% url 'social:begin' 'google-oauth2' %}" class="btn btn-social btn-google"> | ||
<span class="icon icon-google"></span> | ||
<span class="text">{% trans 'Sign up with Google' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
|
||
{% if GITHUB_ENABLED %} | ||
<a href="{% url "socialauth_begin" "github" %}" class="btn btn-social btn-github"> | ||
<span class="icon icon-github"></span> | ||
<span class="text">{% trans 'Sign up with Github' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
</p> | ||
|
||
<p class="separator"> | ||
<span class="line"></span> | ||
<span class="text">{% trans 'or' %}</span> | ||
</p> | ||
{% if GITHUB_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<a href="{% url 'social:begin' 'github' %}" class="btn btn-social btn-github"> | ||
<span class="icon icon-github"></span> | ||
<span class="text">{% trans 'Sign up with Github' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
</p> | ||
<p class="separator"> | ||
<span class="line"></span> | ||
<span class="text">{% trans 'or' %}</span> | ||
</p> | ||
{% endif %} | ||
|
||
<form action="" method="post" id="js-signup-form"> | ||
|
@@ -205,36 +205,36 @@ <h1><a href="#">{{ SITE_NAME }}</a></h1> | |
<div class="modal-dialog modal-content modal-body inverse user-dialog"> | ||
|
||
{% if SOCIAL_AUTH_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<p class="social-buttons"> | ||
{% if FACEBOOK_ENABLED %} | ||
<a href="{% url "socialauth_begin" "facebook" %}" class="btn btn-social btn-facebook"> | ||
<span class="icon icon-facebook"></span> | ||
<span class="text">{% trans 'Sign in with Facebook' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
<p class="social-buttons"> | ||
{% if FACEBOOK_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<a href="{% url 'social:begin' 'facebook' %}" class="btn btn-social btn-facebook"> | ||
<span class="icon icon-facebook"></span> | ||
<span class="text">{% trans 'Sign in with Facebook' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
|
||
{% if GOOGLE_ENABLED %} | ||
<a href="{% url "socialauth_begin" "google-oauth2" %}" class="btn btn-social btn-google"> | ||
<span class="icon icon-google"></span> | ||
<span class="text">{% trans 'Sign in with Google' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
{% if GOOGLE_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<a href="{% url 'social:begin' 'google-oauth2' %}" class="btn btn-social btn-google"> | ||
<span class="icon icon-google"></span> | ||
<span class="text">{% trans 'Sign in with Google' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
|
||
{% if GITHUB_ENABLED %} | ||
<a href="{% url "socialauth_begin" "github" %}" class="btn btn-social btn-github"> | ||
<span class="icon icon-github"></span> | ||
<span class="text">{% trans 'Sign in with Github' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
</p> | ||
|
||
<p class="separator"> | ||
<span class="line"></span> | ||
<span class="text">{% trans 'or' %}</span> | ||
</p> | ||
{% if GITHUB_ENABLED %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember to put this back |
||
<a href="{% url 'social:begin' 'github' %}" class="btn btn-social btn-github"> | ||
<span class="icon icon-github"></span> | ||
<span class="text">{% trans 'Sign in with Github' %}</span> | ||
<span class="hover"> </span> | ||
</a> | ||
{% endif %} | ||
</p> | ||
<p class="separator"> | ||
<span class="line"></span> | ||
<span class="text">{% trans 'or' %}</span> | ||
</p> | ||
{% endif %} | ||
|
||
<form action="" method="post" id="js-signin-form"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember to put this back