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

Commit 0489fa7

Browse files
author
vikasrohit
committed
AS#100297043256582, Move all login to link of Members to accounts.topcoder.com
-- Trying to fix state.go with url router sync
1 parent bbe1345 commit 0489fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/topcoder.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import { getCurrentUser, loadUser } from './services/userv3.service.js'
5656
$rootScope.$broadcast(CONSTANTS.EVENT_USER_LOGGED_IN)
5757
logger.debug('Going to state: ' + toState.name)
5858
$state.go(toState.name, toParams, {notify: false})
59-
$rootScope.$apply()
59+
$urlRouter.sync()
6060
}, function() {
6161
logger.debug('State requires authentication, and user is not logged in, redirecting')
6262
// setup redirect for post login

0 commit comments

Comments
 (0)