eecs448-project-4/app/routing/middleware/auth/UserOnly.middleware.js

18 lines
465 B
JavaScript
Raw Permalink Normal View History

/*
* UserOnly Middleware
* -------------------------------------------------------------
* Allows the request to proceed if there's an authenticated user
* in the session. Otherwise, redirects the user to the login page
* of the default provider.
2020-11-08 18:34:50 +00:00
*
* This file was automatically generated by the Flitter framework.
*/
const Middleware = require('flitter-auth/middleware/UserOnly')
class UserOnly extends Middleware {
}
module.exports = UserOnly