xcat2 / xcat-inventory

An inventory tool for xcat cluster
8 stars 16 forks source link

add env variable DISABLE_AUTH_FOR_DEBUG to disable url authorization #212

Closed zet809 closed 5 years ago

zet809 commented 5 years ago

For task https://github.ibm.com/xcat2/task_management/issues/275 To disable url authorization checking when debugging: Run the application like this: FLASK_DEBUG=1 XCAT_VERNO=2.14.6 XCAT_SERVER=10.6.27.1 DISABLE_AUTH_FOR_DEBUG=yes python main.py

The DISABLE_AUTH_FOR_DEBUG option take affect only in Flask debug mode.