Skip to content

Commit 31dd961

Browse files
committed
Issues-408
1 parent d395af5 commit 31dd961

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vanilla/library/core/functions.render.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,12 @@ function signInUrl($target = '', $force = false) {
17231723
}
17241724
}
17251725

1726+
// FIX: https://github.com/topcoder-platform/forums/issues/383
1727+
// The '' and the default route navigates to a home page
1728+
if ($target === c('Routes.DefaultController')) {
1729+
$target = '' ;
1730+
}
1731+
17261732
return '/entry/signin'.($target ? '?Target='.urlencode($target) : '');
17271733
}
17281734
}

0 commit comments

Comments
 (0)