ReviewOS

also looking at this

stacks/reportshq

fix(auth): send people to their reports, and make a dead redirect fail the build

#34
Merged glennmichael123 wants to merge fix/auth-redirects into main
5 files +59 -16
resources/views/forgot.stxmodified+1-1
Changes to resources/views/forgot.stx
@@ -16,7 +16,7 @@ const signedIn = session.user !== null
1616 {{-- Already signed in: bounce before anything paints, the same way the
1717 guard does in the other direction. --}}
1818 @if (signedIn)
19 <script>window.location.replace('/projects')</script>
19 <script>window.location.replace('/reports')</script>
2020 @endif
2121
2222 <script>document.documentElement.setAttribute('data-session-cookie', {{ cookieName }})</script>