Version 4.1.2

This commit is contained in:
Neo committed 2025-12-19 05:32:19 -08:00
1 parent 3ba79295ee
commit 28bd025b35
1131 files changed
+63658 -20579

No files matched your search

+9 -3
View File
@@ -106,6 +106,12 @@ class _Login
static::$allHandlers = static::$handlers;
}
}
/* If we have no handlers, use the standard internal */
if ( empty( static::$handlers ) )
{
static::$handlers['Internal'] = \IPS\Login\LoginAbstract::load('internal');
}
return static::$handlers;
}
@@ -173,7 +179,7 @@ class _Login
}
}
$ref = new \IPS\Http\Url( $_SERVER['HTTP_REFERER'] );
$ref = new \IPS\Http\Url( ( isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : '' ) );
}
return isset( $ref ) ? $ref->stripQueryString( 'csrfKey' ) : \IPS\Http\Url::internal( '' );
@@ -328,9 +334,9 @@ class _Login
/* Set any flags */
foreach ( array_keys( $this->flags ) as $k )
{
if ( isset( $values[ $k ] ) and $values[ $k ] )
if ( isset( $values[ $k ] ) )
{
$this->flags[ $k ] = TRUE;
$this->flags[ $k ] = $values[ $k ];
}
}