Commit 2fe73478 authored by Aaron Wells's avatar Aaron Wells
Browse files

Let CLI scripts bypass user login check (Bug #1111066)

Change-Id: I9b1b992516f5f1005e9a5a1ec89c84777fe7b242
Signed-off-by: Aaron Wells's avatarAaron Wells <>
parent e59a4270
......@@ -316,7 +316,8 @@ try {
// The installer does its own auth_setup checking, because some upgrades may
// break logging in and so need to allow no logins.
if (!defined('INSTALLER')) {
// Command-line scripts obviously have no logged-in user.
if (!defined('INSTALLER') && !defined('CLI')) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment