fix: remove [Authorize] from Dashboard, add internal auth check

Root cause: [Authorize] attribute was blocking /dashboard access before
Blazor auth state could be established, causing redirect to /not-found.

Solution:
- Remove [Authorize] from Dashboard.razor
- Add authentication check in OnInitializedAsync
- If not authenticated, redirect to login internally
- Reduced wait time from 6s to 3s in login.html

This allows:
1. /dashboard to load immediately
2. Blazor auth state to initialize
3. Dashboard to verify user is authenticated
4. Redirect to login if not authenticated

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-06 01:24:44 +09:00
parent 84e5784b66
commit 53ae2fcc51
6 changed files with 215 additions and 7 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB