Skip to content

Commit

Permalink
!fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchamp authored Oct 31, 2023
1 parent 9dd23b8 commit dd8c02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shibboleth.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ function shibboleth_admin_hooks() {
function shibboleth_session_active( $auto_login = false ) {
$active = false;
$method = shibboleth_getoption( 'shibboleth_attribute_access_method' );
$shib_headers = shibboleth_getoption( 'shibboleth_headers', array(), true );
$shib_headers = shibboleth_getoption( 'shibboleth_headers', array(), true );
$session = shibboleth_getenv( $shib_headers['username']['name'] );

if ( $session && 'http' !== $method ) {
Expand Down

0 comments on commit dd8c02a

Please sign in to comment.