2020-11-05 02:31:52 +00:00
|
|
|
/*
|
|
|
|
* GuestOnly Middleware
|
|
|
|
* -------------------------------------------------------------
|
|
|
|
* Allows the request to proceed unless there's an authenticated user
|
|
|
|
* in the session. If so, redirect to the auth flow destination if one
|
|
|
|
* exists. If not, redirect to the default login route.
|
2020-11-08 18:34:50 +00:00
|
|
|
*
|
|
|
|
* This file was automatically generated by the Flitter framework.
|
2020-11-05 02:31:52 +00:00
|
|
|
*/
|
|
|
|
const Middleware = require('flitter-auth/middleware/GuestOnly')
|
|
|
|
class GuestOnly extends Middleware {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = GuestOnly
|