From abe145dae2820be7ec87f9832aaa5492a5d16262 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 24 Sep 2024 02:40:01 +0000 Subject: [PATCH] fix formatting --- app/console | 1 + app/controllers/shared/api.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 160000 app/console diff --git a/app/console b/app/console new file mode 160000 index 0000000000..112fccf5a0 --- /dev/null +++ b/app/console @@ -0,0 +1 @@ +Subproject commit 112fccf5a044c9795b31b264f5974224a3545a17 diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 5112794e40..162b09b4dd 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -274,9 +274,7 @@ App::init() } } } - /** - * Admin User Authentication - */ + // Admin User Authentication elseif (($project->getId() === 'console' && !$team->isEmpty() && !$user->isEmpty()) || ($project->getId() !== 'console' && !$user->isEmpty() && $mode === APP_MODE_ADMIN)) { $teamId = $team->getId(); $adminRoles = [];