Skip to content

Commit fcb6933

Browse files
committed
Move API token auth bypass to settings
1 parent 8006a1a commit fcb6933

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
@@ -374,3 +374,5 @@ def list_env(key):
374374
"style-src": (CSP_SELF,),
375375
}
376376
}
377+
378+
BYPASS_API_TOKEN_AUTH = boolean_env("BYPASS_API_TOKEN_AUTH", default=False)

0 commit comments

Comments
 (0)