mountain-device/easyauth — pull request #40 by ryojiosawa (2014-10-20 21:40:31+00:00)
Title: Add dispatchModule handler to handle module-specific requests

Add a new route and handler to handle module-specific requests. This handler makes a query and see if a given user already has a specified auth rule set up or not. If so, we'll redirect the request to //auth', otherwise, '//setup'.

Please note that I added two ejs files for face authentication just to test out this logic. We can remove or move these files once we have a working auth module ready.

@krulwich, @suprbh, @ceg1236 - please review.