Skip to content

Commit e847125

Browse files
authored
Merge pull request #58 from topcoder-platform/issues-352
Issues-352:updated SignInUrl
2 parents e947657 + e5915a4 commit e847125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Topcoder/class.topcoder.plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function setup() {
105105
$signInUrl = getenv('TOPCODER_PLUGIN_SIGNIN_URL');
106106
$signOutUrl = getenv('TOPCODER_PLUGIN_SIGNOUT_URL');
107107
if($signInUrl === false) {
108-
$signInUrl =$topcoderSSOAuth0Url.'?retUrl='.urlencode('https://'.$_SERVER['SERVER_NAME'].'/');
108+
$signInUrl =$topcoderSSOAuth0Url.'?retUrl={target}';
109109
}
110110
if($signOutUrl === false) {
111111
$signOutUrl =$topcoderSSOAuth0Url.'?logout=true&retUrl='.urlencode('https://'.$_SERVER['SERVER_NAME'].'/');

0 commit comments

Comments
 (0)