CoreID/app/routing/middleware/auth/ProviderRegistrationEnabled.middleware.js

15 lines
425 B
JavaScript
Raw Permalink Normal View History

2020-04-17 00:59:48 +00:00
/*
* 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