Remove obsolete cohort example switch
This commit is contained in:
@@ -53,7 +53,7 @@ def authorized(request):
|
||||
return hmac.compare_digest(request.headers.get('X-Cama-Cohort-Token', ''), token)
|
||||
|
||||
|
||||
app.config.update(CAMA_COHORT_SYNTHETIC=True, CAMA_COHORT_READER=read, CAMA_COHORT_ACCESS=authorized)
|
||||
app.config.update(CAMA_COHORT_READER=read, CAMA_COHORT_ACCESS=authorized)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='127.0.0.1', port=int(os.environ.get('CAMA_COHORT_PORT', '5059')), debug=False)
|
||||
|
||||
Reference in New Issue
Block a user