Commit 945d05a32efe62461a0bdfe88adc701e9ccd3ede
1 parent
949b6049
Exists in
master
and in
2 other branches
Added configurations to login_redirect
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
Showing
3 changed files
with
5 additions
and
0 deletions
Show diff stats
cookbooks/colab/templates/gitlab.py.erb
cookbooks/colab/templates/noosfero.py.erb
src/colab-spb-theme-plugin/colab_spb_theme/templates/registration/login.html
... | ... | @@ -28,6 +28,9 @@ |
28 | 28 | <br> |
29 | 29 | <form action="{% url 'login' %}" method="post" role="form" class="form-horizontal signup"> |
30 | 30 | {% csrf_token %} |
31 | + {% if previous_path %} | |
32 | + <input type="hidden" value="{{previous_path}}" name="previous_path"> | |
33 | + {% endif %} | |
31 | 34 | |
32 | 35 | <div class="row"> |
33 | 36 | <div class="col-md-4 col-md-offset-4 col-lg-4 col-lg-4 col-sm-8 col-sm-offset-2 col-xs-12"> | ... | ... |