mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #38224 from whiteinge/cors-options-unauthed
Allow CORS OPTIONS requests to be unauthenticated
This commit is contained in:
commit
203109dd17
@ -880,12 +880,12 @@ cherrypy.tools.html_override = cherrypy.Tool('on_start_resource',
|
||||
html_override_tool, priority=53)
|
||||
cherrypy.tools.salt_token = cherrypy.Tool('on_start_resource',
|
||||
salt_token_tool, priority=55)
|
||||
cherrypy.tools.cors_tool = cherrypy.Tool('before_request_body',
|
||||
cors_tool, priority=50)
|
||||
cherrypy.tools.salt_auth = cherrypy.Tool('before_request_body',
|
||||
salt_auth_tool, priority=60)
|
||||
cherrypy.tools.hypermedia_in = cherrypy.Tool('before_request_body',
|
||||
hypermedia_in)
|
||||
cherrypy.tools.cors_tool = cherrypy.Tool('before_request_body',
|
||||
cors_tool, priority=30)
|
||||
cherrypy.tools.lowdata_fmt = cherrypy.Tool('before_handler',
|
||||
lowdata_fmt, priority=40)
|
||||
cherrypy.tools.hypermedia_out = cherrypy.Tool('before_handler',
|
||||
|
Loading…
Reference in New Issue
Block a user