Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Postal Owl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Postal Owl
Postal Owl
Commits
35b1d656
Commit
35b1d656
authored
2 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
CAS: Preserve service entry point URL when checking tickets
parent
bdcd2f08
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
owl/acct.py
+1
-0
1 addition, 0 deletions
owl/acct.py
with
1 addition
and
0 deletions
owl/acct.py
+
1
−
0
View file @
35b1d656
...
...
@@ -71,6 +71,7 @@ def cas_login():
# There is a ticket, the request come from CAS as callback.
# need call `verify_ticket()` to validate ticket and get user profile.
app
.
logger
.
debug
(
'
CAS ticket: %s
'
,
ticket
)
cas_client
.
service_url
=
url_for
(
'
cas_login
'
,
next
=
next
,
_external
=
True
)
user
,
attributes
,
pgtiou
=
cas_client
.
verify_ticket
(
ticket
)
app
.
logger
.
debug
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment