Skip to content

Commit

Permalink
Make it even more foolproof
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Dec 10, 2024
1 parent 4bf3254 commit 7c920d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/auth/services/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ export class AuthService {
sessionStorage.removeItem('afterLogin');
if (
!path ||
!path.startsWith('/') ||
['/oauth/callback', '/register', '/setup-totp', '/confirm-totp'].some((p) =>
path!.startsWith(p),
)
Expand Down

0 comments on commit 7c920d7

Please sign in to comment.