Skip to content

Commit

Permalink
Tab to indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhrath committed Apr 9, 2019
1 parent 2b7ee3c commit 282c31e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions shibboleth.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,13 +861,13 @@ function shibboleth_custom_password_reset_url( $url ) {
* @since 1.0
*/
function shibboleth_login_form() {
global $wp;
$url = false;
if ( isset( $wp->request ) ) {
$url = wp_login_url( home_url( $wp->request ) );
}
$login_url = add_query_arg( 'action', 'shibboleth', $url );
$login_url = remove_query_arg( 'reauth', $login_url );
global $wp;
$url = false;
if ( isset( $wp->request ) ) {
$url = wp_login_url( home_url( $wp->request ) );
}
$login_url = add_query_arg( 'action', 'shibboleth', $url );
$login_url = remove_query_arg( 'reauth', $login_url );
$button_text = shibboleth_getoption( 'shibboleth_button_text', 'Log in with Shibboleth' );
$disable = shibboleth_getoption( 'shibboleth_disable_local_auth', false );
?>
Expand Down

0 comments on commit 282c31e

Please sign in to comment.