refactor: update routing logic to redirect to '/welcome' after auth callback and handle organization checks
This commit is contained in:
@@ -27,7 +27,7 @@ function AuthCallbackContent() {
|
||||
localStorage.removeItem('oauth_state')
|
||||
localStorage.removeItem('oauth_code_verifier')
|
||||
if (localStorage.getItem('pulse_pending_checkout')) {
|
||||
router.push('/pricing')
|
||||
router.push('/welcome')
|
||||
} else {
|
||||
router.push('/')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user