Skip to content

Commit 02cbbf7

Browse files
committed
Remove redirect.
1 parent 3c12372 commit 02cbbf7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/Hooks/Auth/Routes.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ public static function template_redirect(): void {
6565
wp_redirect(app_get_initial_page($current_user));
6666
exit;
6767
}
68-
} else {
69-
if (!$is_allowed_page) {
70-
wp_redirect(wp_login_url());
71-
exit;
72-
}
7368
}
7469
}
7570
}

0 commit comments

Comments
 (0)