1
0
Fork 0
mirror of synced 2024-06-17 10:14:50 +12:00

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
parent c729972325
commit 8346710d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 : '');