Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
c729972325
commit
8346710d4f
|
@ -757,7 +757,7 @@ App::post('/v1/account/sessions/magic-url')
|
||||||
))
|
))
|
||||||
;
|
;
|
||||||
|
|
||||||
$token // Hide secret for clients, sp
|
$token // Hide secret for clients
|
||||||
->setAttribute('secret',
|
->setAttribute('secret',
|
||||||
($isPrivilegedUser || $isAppUser) ? $loginSecret : '');
|
($isPrivilegedUser || $isAppUser) ? $loginSecret : '');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue