Fix left over code that is locking people out of the fleetctl-preview… (#16192)

This commit is contained in:
Mike Thomas 2024-01-18 12:25:47 +09:00 committed by GitHub
parent 5fe65d414c
commit 223ded6230
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {};