Update app/controllers/api/account.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Torsten Dittmann
2021-09-01 09:22:51 +02:00
committed by GitHub
co-authored by Christy Jacob
parent c729972325
commit 8346710d4f
+1 -1
View File
@@ -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 : '');