Skip to content

Commit ed94690

Browse files
committed
Social: block anonymous users for read_url_with_open_graph
1 parent 0a6dc86 commit ed94690

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: main/inc/ajax/social.ajax.php

+2
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@
320320
break;
321321
// Read the Url using OpenGraph and returns the hyperlinks content
322322
case 'read_url_with_open_graph':
323+
api_block_anonymous_users(false);
324+
323325
$url = $_POST['social_wall_new_msg_main'] ?? '';
324326
$url = trim($url);
325327
$html = '';

0 commit comments

Comments
 (0)