From 8346710d4f93dbd0e589528fa3b42239453037d6 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 1 Sep 2021 09:22:51 +0200 Subject: [PATCH] Update app/controllers/api/account.php Co-authored-by: Christy Jacob --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 3ced3d069..0eeea0483 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -757,7 +757,7 @@ App::post('/v1/account/sessions/magic-url') )) ; - $token // Hide secret for clients, sp + $token // Hide secret for clients ->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? $loginSecret : '');