debug: guard
This commit is contained in:
@@ -33,6 +33,7 @@ const routes: RouteNode[] = [
|
||||
guard: () => {
|
||||
const gr = guard.shouldLoginRequired();
|
||||
if (!gr.ok) {
|
||||
alert(`LoginRequired: ${window.location.pathname}`);
|
||||
return gr;
|
||||
}
|
||||
return guard.notForbidden();
|
||||
|
||||
Reference in New Issue
Block a user