From f8501aa80d413cb36abc2afec677f14e47a81c05 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 18 Oct 2016 15:38:03 +0200 Subject: [PATCH] setup/AdminAccountPage: respect previously configured envvar when suggesting admin username refs #12164 --- modules/setup/application/forms/AdminAccountPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/application/forms/AdminAccountPage.php b/modules/setup/application/forms/AdminAccountPage.php index 6e8fe26dc..b636063c9 100644 --- a/modules/setup/application/forms/AdminAccountPage.php +++ b/modules/setup/application/forms/AdminAccountPage.php @@ -270,7 +270,7 @@ class AdminAccountPage extends Form */ protected function getUsername() { - $name = ExternalBackend::getRemoteUser(null); + $name = ExternalBackend::getRemoteUser($this->backendConfig['username_envvar']); if ($name === null) { return ''; }