Skip to content

Commit

Permalink
Merge pull request #10 from duboisp/master
Browse files Browse the repository at this point in the history
Deactive basic Auth for now.
  • Loading branch information
GormFrank authored Mar 25, 2020
2 parents 0df0ebb + 81fa68f commit bb5e3fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ MongoClient.connect( processEnv.MONGODB_URI || '', {} ).then( ( mongoInstance )
* Subscriber routes.
*/
app.post('/api/v0.1/subs/email/add',
passport.authenticate('basic', { session: false }),
// Need to do more testing
// passport.authenticate('basic', { session: false }),
subsController.addEmail);
//app.post('/api/v0.1/subs/email/confirm', subsController.confirmEmail); // TODO: need to handle data from "post"
//app.post('/api/v0.1/subs/email/remove', subsController.removeEmail); // TODO: need to handle data from "post"
Expand Down

0 comments on commit bb5e3fc

Please sign in to comment.