Skip to content

Commit 2252903

Browse files
authored
Merge pull request SAML-Toolkits#31 from rmccue/patch-1
Avoid double site URL concatenation
2 parents 3e75b80 + 7d680c4 commit 2252903

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onelogin-saml-sso/php/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
}
5858
}
5959

60-
$acs_endpoint = get_site_url() . (get_option('onelogin_saml_alternative_acs', false) ? plugins_url( 'alternative_acs.php', dirname( __FILE__ ) ) : '/wp-login.php?saml_acs');
60+
$acs_endpoint = get_option('onelogin_saml_alternative_acs', false) ? plugins_url( 'alternative_acs.php', dirname( __FILE__ ) ) : wp_login_url() . '?saml_acs';
6161

6262
$settings = array (
6363

0 commit comments

Comments
 (0)