TeamMartinez / YOLO-api

REST API for the yolo project (GitHub Auth)
http://vm344a.se.rit.edu
1 stars 1 forks source link

Bypass auth based on YOLO_BYPASS_AUTH env. variable #28

Closed jdw6359 closed 8 years ago

jdw6359 commented 8 years ago

Allows for auth bypass independent of RAILS_ENV configuration. Useful for testing non github based features while in dev / test env

Add the following to your .bash_profile if you would like to bypass auth: $ export YOLO_BYPASS_AUTH="true"

jdw6359 commented 8 years ago

In case anyone was wondering, I swear this is my last time tweaking this method