Visiting certain pages while logged out now redirects you to login — instead of showing an error.
A handful of pages — including your profile, directory settings, subject documents, and the electives add form — were missing a small but important safeguard. If someone accessed those pages without being logged in (for example, after a session expired or by opening a saved link), they'd see a generic server error instead of being gently redirected to the login page.
This happened because of a code reorganization done a few months ago. When those pages were moved into their own files, the "require login" instruction didn't come along for the ride. We caught it through our production error monitoring and fixed all four pages at once.
If you've ever hit an unexpected error page on NavEd, this is the kind of issue we're constantly hunting down. Everything is working correctly now.
Fixes and Improvements
- Profile page now redirects to login when accessed without a session
- Directory settings, subject documents, and electives add form have the same protection
- Fixed the existing test that was silently failing to catch this scenario