mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +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
1 changed files with 0 additions and 4 deletions
|
|
@ -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 a new issue