CoreID/app/routing/middleware/auth/ProviderRegistrationEnabled.middleware.js
2020-04-16 19:59:48 -05:00

15 lines
425 B
JavaScript

/*
* ProviderRegistrationEnabled Middleware
* -------------------------------------------------------------
* Redirects the user to the login page if the registration page for
* a particular auth provider is not enabled.
*/
const Middleware = require('flitter-auth/middleware/ProviderRegistrationEnabled')
class ProviderRegistrationEnabled extends Middleware {
}
module.exports = ProviderRegistrationEnabled