Antonio-RiveroMartnez commented on code in PR #45550:
URL: https://github.com/apache/superset/pull/45550#discussion_r4360327419


##########
superset/extensions/api.py:
##########
@@ -30,6 +30,9 @@
 
 class ExtensionsRestApi(BaseApi):
     allow_browser_login = True
+    # FAB's BaseApi exempts its blueprint from CSRF; keep the protection that
+    # other cookie-authenticated Superset APIs have.
+    csrf_exempt = False

Review Comment:
   should we instead inherit from BaseSupersetApi? it already has this and it's 
what other APIs use



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to