Merge branch 'hotfix/auto_set_session_save_handler'

This commit is contained in:
Marco Stoll 2021-06-15 12:01:01 +02:00
commit 3110269a2e

View File

@ -350,6 +350,8 @@ class Session extends AbstractService
if (!($sessionHandler instanceof \SessionHandlerInterface)) {
$errors[] = '[' . $options['custom_handler'] . '] is not a \SessionHandlerInterface';
}
$this->setSaveHandler($sessionHandler);
} catch (ClassNotFoundException | ConfigurationException $exception) {
$errors[] = 'unable to retrieve [' . $options['custom_handler'] . '] from the service factory - '
. '[' . (string)$exception . ']';