Fix cas_validate_url
bug
This commit is contained in:
parent
1da3505188
commit
cb6ae6a494
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ def validate(ticket):
|
|||
cas_validate_url = create_cas_validate_url(
|
||||
current_app.config['CAS_SERVER'],
|
||||
current_app.config['CAS_VALIDATE_ROUTE'],
|
||||
flask.url_for('.login', _external=True),
|
||||
flask.url_for('.login', origin=flask.session.get('CAS_AFTER_LOGIN_SESSION_URL'), _external=True),
|
||||
ticket)
|
||||
|
||||
current_app.logger.debug("Making GET request to {0}".format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue