This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 82d4249e17 fix: disable SHOW_STACKTRACE by default (#24137)
82d4249e17 is described below

commit 82d4249e17fd2f9e0af772dca92403647b9cfef0
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Mon May 22 10:00:07 2023 +0100

    fix: disable SHOW_STACKTRACE by default (#24137)
---
 superset/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/config.py b/superset/config.py
index 6ad1584601..d522e10ac1 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -265,9 +265,9 @@ FLASK_USE_RELOAD = True
 PROFILING = False
 
 # Superset allows server-side python stacktraces to be surfaced to the
-# user when this feature is on. This may has security implications
+# user when this feature is on. This may have security implications
 # and it's more secure to turn it off in production settings.
-SHOW_STACKTRACE = True
+SHOW_STACKTRACE = False
 
 # Use all X-Forwarded headers when ENABLE_PROXY_FIX is True.
 # When proxying to a different port, set "x_port" to 0 to avoid downstream 
issues.

Reply via email to