Skip to content

Commit b618572

Browse files
committed
add trusted apps
1 parent f6be6c9 commit b618572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Routes/SolidUserProfile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function respondToProfile() {
4646
$owner = ProfileServer::getOwner();
4747

4848
$allowedClients = $owner['allowedClients'] ?? [];
49-
$allowedOrigins = [];
49+
$allowedOrigins = TRUSTED_APPS ?? [];
5050
foreach ($allowedClients as $clientId) {
5151
$clientRegistration = ClientRegistration::getRegistration($clientId);
5252
if (isset($clientRegistration['client_name'])) {

0 commit comments

Comments
 (0)