Skip to content

Commit cf4b480

Browse files
committed
Move API token auth bypass to settings
1 parent e629947 commit cf4b480

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • manage_breast_screening/config/settings

manage_breast_screening/config/settings/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,3 +379,5 @@ def list_env(key):
379379
"style-src": (CSP_SELF,),
380380
}
381381
}
382+
383+
BYPASS_API_TOKEN_AUTH = boolean_env("BYPASS_API_TOKEN_AUTH", default=False)

0 commit comments

Comments
 (0)