Commit f2600657 authored by ale's avatar ale

set Access-Control-Allow-Origin: * on successful redirects

parent 47366561
...@@ -151,6 +151,7 @@ def login(): ...@@ -151,6 +151,7 @@ def login():
response.set_cookie(SSO_COOKIE_NAME, local_ticket_str, response.set_cookie(SSO_COOKIE_NAME, local_ticket_str,
path=app.config['APPLICATION_ROOT'] or '/', path=app.config['APPLICATION_ROOT'] or '/',
secure=True, httponly=True) secure=True, httponly=True)
response.headers['Access-Control-Allow-Origin'] = '*'
return response return response
......
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