mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Hide password from database 'show' view (#355)
This commit is contained in:
parent
e6e8ec9620
commit
63e5e932cb
@ -140,6 +140,7 @@ class DatabaseView(CaravelModelView, DeleteMixin): # noqa
|
||||
order_columns = utils.list_minus(list_columns, ['created_by_'])
|
||||
add_columns = [
|
||||
'database_name', 'sqlalchemy_uri', 'cache_timeout', 'extra']
|
||||
show_columns = add_columns
|
||||
search_exclude_columns = ('password',)
|
||||
edit_columns = add_columns
|
||||
add_template = "caravel/models/database/add.html"
|
||||
|
Loading…
Reference in New Issue
Block a user