more reversion to make login?next= work correctly
parent
49ffafc838
commit
4f17b86878
|
@ -48,7 +48,7 @@
|
|||
<li class="first"><a href="/supporter/{{user.username}}"><span id="welcome">Welcome, {{ user.username }}</span></a></li>
|
||||
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
|
||||
{% else %}
|
||||
<li class="first"><a href="{% url auth_login %}"><span>Sign In</span></a></li>
|
||||
<li class="first"><a href="{% url auth_login %}?next={% firstof request.path '/' %}"><span>Sign In</span></a></li>
|
||||
{% endif %}
|
||||
<li><a href="/stub/tour"><span>Tour</span></a></li>
|
||||
<li><a href="{{faqurl}}"><span>FAQs</span></a></li>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<br>
|
||||
<br>
|
||||
<h3>Or, login with:</h3>
|
||||
<a href="/socialauth/login/google?next={{request.build_absolute_uri}}{{ next }}"><img src="{{ STATIC_URL }}/images/auth/google_64.png"</a>
|
||||
<a href="/socialauth/login/google?next=http://{{request.get_host}}{{ next }}"><img src="{{ STATIC_URL }}/images/auth/google_64.png"</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue