Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Benjamin Graillot
scripts
Commits
10b56a4a
Commit
10b56a4a
authored
Jun 11, 2013
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wiki/auth/cas] Redirection vers la page courante si tentative de login inutile
parent
bd4bc8ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
wiki/auth/cas.py
wiki/auth/cas.py
+2
-0
No files found.
wiki/auth/cas.py
View file @
10b56a4a
...
...
@@ -128,6 +128,8 @@ class CASAuth(BaseAuth):
# authenticated user
if
not
force
and
user_obj
and
user_obj
.
valid
:
if
self
.
action
==
action
:
request
.
http_redirect
(
url
)
return
user_obj
,
True
if
self
.
ticket_path
and
request
.
method
==
'POST'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment