Commit 5bd06d47 authored by Valentin Samir's avatar Valentin Samir

Keep query string then redirecting from / to /login

parent 797b6c6e
Pipeline #722 canceled with stage
......@@ -14,6 +14,7 @@ Added
-----
* Support for python 3.6 and Django 1.11
* Support for Django 2.0
* Keep query string then redirecting from / to /login
Fixes
-----
......
......@@ -19,7 +19,10 @@ from cas_server import views
app_name = "cas_server"
urlpatterns = [
url(r'^$', RedirectView.as_view(pattern_name="cas_server:login", permanent=False)),
url(
r'^$',
RedirectView.as_view(pattern_name="cas_server:login", permanent=False, query_string=True)
),
url(
'^login$',
sensitive_post_parameters('password')(
......
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