Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f221d62

Browse files
author
vikasrohit
committed
AS#100297043256582, Move all login to link of Members to accounts.topcoder.com
-- Using window.location to redirect user instead of using state.go
1 parent 38d0e2c commit f221d62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/topcoder.module.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ import { getCurrentUser, loadUser } from './services/userv3.service.js'
5555
logger.debug('successful login with token ' + JSON.stringify(token))
5656
$rootScope.$broadcast(CONSTANTS.EVENT_USER_LOGGED_IN)
5757
logger.debug('Going to state: ' + toState.name)
58-
$state.go(toState.name, toParams, {notify: false})
58+
// $state.go(toState.name, toParams, {notify: false})
59+
$window.location = $state.href(toState.name, toParams, {absolute: true})
5960
}, function() {
6061
logger.debug('State requires authentication, and user is not logged in, redirecting')
6162
// setup redirect for post login

0 commit comments

Comments
 (0)