Konny
Results
2
issues of
Konny
Created middleware folder in amplify/server Created auth.js file in amplify/server/middleware 3 functions - ensureAuthenticated to check if user is login/authenticated. If not redirect them to some login page - ensureAdmin...
Initialized passport and express-session (PostgreSQLStore) in app.js. The rest of the code can be found in these pull requests: - Middleware: https://github.com/ProgramEquity/amplify/pull/644 - Passport Local Strategy: https://github.com/ProgramEquity/amplify/pull/696 All of the...