also looking at this
fix(auth): send people to their reports, and make a dead redirect fail the build
#34
5 files
+59
-16
| @@ -16,7 +16,7 @@ const signedIn = session.user !== null | ||
| 16 | 16 | {{-- Already signed in: bounce before anything paints, the same way the |
| 17 | 17 | guard does in the other direction. --}} |
| 18 | 18 | @if (signedIn) |
| 19 | <script>window.location.replace('/projects')</script> | |
| 19 | <script>window.location.replace('/reports')</script> | |
| 20 | 20 | @endif |
| 21 | 21 | |
| 22 | 22 | <script>document.documentElement.setAttribute('data-session-cookie', {{ cookieName }})</script> |