mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Fix left over code that is locking people out of the fleetctl-preview… (#16192)
This commit is contained in:
parent
5fe65d414c
commit
223ded6230
@ -23,10 +23,6 @@ module.exports = {
|
||||
|
||||
fn: async function () {
|
||||
|
||||
// Note: This page bypasses the 'is-logged-in' policy so we can redirect not-logged-in users to the /try-fleet/login page,
|
||||
if(!this.req.me){
|
||||
throw {redirect: '/try-fleet/login' };
|
||||
}
|
||||
// Respond with view.
|
||||
return {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user