Commit 5aa551de authored by Zenon Mousmoulas's avatar Zenon Mousmoulas Committed by Zenon Mousmoulas

Merge pull request #9 from REANNZ/alt-login

Allow AltLogin to redirect to target URLs

First step in the direction of allowing local login as a login method (besides SSO).
parents c0a7e245 ee225beb
...@@ -37,7 +37,11 @@ ...@@ -37,7 +37,11 @@
<div class="form-group"> <div class="form-group">
<div class="controls"> <div class="controls">
<button type="submit" class="btn">Sign in</button> <button type="submit" class="btn">Sign in</button>
{% if next %}
<input type="hidden" name="next" value="{{ next }}" />
{% else %}
<input type="hidden" name="next" value="{% url overview %}" /> <input type="hidden" name="next" value="{% url overview %}" />
{% endif %}
</div> </div>
</div> </div>
</form> </form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment