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

Commit e8fd49d

Browse files
author
vikasrohit
committed
AS#100297043256582, Move all login to link of Members to accounts.topcoder.com
-- Misc fixes to get it working for pages which don't require auth
1 parent 9e26107 commit e8fd49d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/topcoder.module.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ import { getCurrentUser, loadUser } from './services/userv3.service.js'
6666
var next = $state.href(toState.name, toParams, {absolute: true})
6767
var retUrl = next
6868
$window.location = CONSTANTS.ACCOUNTS_APP_URL + '?retUrl=' + encodeURIComponent(retUrl)
69+
} else {
70+
logger.debug('Going to state: ' + toState.name)
71+
$state.go(toState.name, toParams, {notify: false})
72+
$urlRouter.sync()
6973
}
7074
})
7175
}

0 commit comments

Comments
 (0)