icingaweb2/library
Eric Lippmann 3361cac59a CLI: Setup fake auth
Since version 2.7.x CLI actions load all enabled modules automatically.
This includes launching configuration.php and run.php. Though code
in those files should be restricted to a supported set of functions,
module devs may write any code here. If a module requires authentication
in those files, CLI actions fail because there is no auth possible.
With this patch, we setup a fake user named "cli" w/o any permission when
running CLI actions.
2020-03-02 14:16:28 +01:00
..
Icinga CLI: Setup fake auth 2020-03-02 14:16:28 +01:00
vendor vendor/lessphp: Check for an array before accessing an offset 2019-12-04 11:28:08 +01:00