Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #1092 allow environment variables for `remove_token_from_body…
…_when_cookies_used` (usu) This PR was merged into the 2.x branch. Discussion ---------- allow environment variables for `remove_token_from_body_when_cookies_used` #940 introduced a new config option to enable response body when cookies are used: ```yaml remove_token_from_body_when_cookies_used: false ``` However, currently environment variables cannot be used to control this config. An error `Environment variables "bool:JWT_REMOVE_TOKEN_FROM_BODY" are never used` is thrown. After this PR, this option can also be used as following: ```yaml remove_token_from_body_when_cookies_used: '%env(bool:JWT_REMOVE_TOKEN_FROM_BODY)%' ``` Commits ------- 376db99 allow environment variables for remove_token_from_body_when_cookies_used
- Loading branch information