feat: use mock authentication for local dev

This commit is contained in:
Todd Chaffee
2018-10-30 18:17:07 -03:00
committed by mrugesh mohapatra
parent b734f5033d
commit f0c8211e95
8 changed files with 211 additions and 6 deletions

View File

@@ -7,6 +7,11 @@ const successRedirect = `${homeLocation}/welcome`;
const failureRedirect = '/signin';
export default {
devlogin: {
authScheme: 'mock',
provider: 'dev',
module: 'passport-mock-strategy'
},
local: {
provider: 'local',
module: 'passport-local',