Update app/controllers/api/account.php

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