8622-testToMaster #1411

Merged
alexm merged 746 commits from 8622-testToMaster into master 2025-02-18 07:54:25 +00:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit 2d8dd46d15 - Show all commits

View File

@ -46,7 +46,6 @@ export { Router };
export default defineRouter(function (/* { store, ssrContext } */) {
const state = useState();
Router.beforeEach(async (to, from, next) => {
console.error('beforeEach', session);
if (!session) session = useSession();
const outLayout = Router.options.routes[0].children.map((r) => r.name);
if (!session.isLoggedIn() && !outLayout.includes(to.name)) {