codeclubsocial / codeclub_website_dev

CodeClub website source (website no longer hosted)
http://www.codeclub.social
26 stars 7 forks source link

disable authentication for development work #58

Closed holaymolay closed 7 years ago

craig429 commented 7 years ago

OK, I dunno if this is such a good idea, but here goes. There is now a variable in app.js called enableAuth. It is located near the top of the file near variable localDB (line 41 for this commit). If you set enableAuth to false it will bypass the passport authentication mechanism and show you logged in when you access the site. Be sure to set this to true for production. Closing this.