Skip to content

Commit

Permalink
Last bit security-related configs
Browse files Browse the repository at this point in the history
  • Loading branch information
thebugcatcher committed Oct 29, 2023
1 parent 2a7d3aa commit 5e05e86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ config :logger, :console,
# Use Jason for JSON parsing in Phoenix
config :phoenix, :json_library, Jason

# Security
config :phoenix, :filter_parameters, ["password", "secret", "encrypted_text"]

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"

0 comments on commit 5e05e86

Please sign in to comment.