Skip to content

Commit

Permalink
Merge pull request #1011 from AletheiaFact/bug-fix-redirectPath
Browse files Browse the repository at this point in the history
  • Loading branch information
thesocialdev committed Sep 17, 2023
2 parents 5f5a108 + a2f8597 commit 6c135cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/auth/session.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ export class SessionGuard implements CanActivate {

private checkAndRedirect(request, response, isPublic, redirectPath) {
const isAllowedPublicUrl = [
"/login",
"/unauthorized",
redirectPath,
"/_next",
"/api/.ory",
"/api/health",
Expand Down

0 comments on commit 6c135cf

Please sign in to comment.