Skip to content
Snippets Groups Projects
Verified Commit 5e1c9c4e authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat(middleware): improve private mode handling in CheckPrivateModeMiddleware

- Refactored the logic for redirecting to maintenance mode.
- Added check for authenticated users when private mode is enabled.
- Ensured non-authenticated users are redirected appropriately when accessing maintenance route.
parent eaa7ddc8
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment