Loading saml_sp.module +4 −1 Original line number Diff line number Diff line Loading @@ -271,7 +271,10 @@ function saml_sp_start($idp, $callback, $forceAuthn = FALSE) { $language = \Drupal::languageManager()->getCurrentLanguage(); if (isset($_GET['returnTo'])) { // If a returnTo parameter is present, then use that. $return_to = '/' . $_GET['returnTo']; $return_to = $_GET['returnTo']; if (substr($return_to, 0, 1) !== '/') { $return_to = '/' . $return_to; } } else { // By default user is returned to the front page in the same language. Loading Loading
saml_sp.module +4 −1 Original line number Diff line number Diff line Loading @@ -271,7 +271,10 @@ function saml_sp_start($idp, $callback, $forceAuthn = FALSE) { $language = \Drupal::languageManager()->getCurrentLanguage(); if (isset($_GET['returnTo'])) { // If a returnTo parameter is present, then use that. $return_to = '/' . $_GET['returnTo']; $return_to = $_GET['returnTo']; if (substr($return_to, 0, 1) !== '/') { $return_to = '/' . $return_to; } } else { // By default user is returned to the front page in the same language. Loading