https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
4d749ef
6c1d29c
)
Merge pull request #7678 from annando/remote-rework
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 30 Sep 2019 13:18:43 +0000
(09:18 -0400)
committer
GitHub
<noreply@github.com>
Mon, 30 Sep 2019 13:18:43 +0000
(09:18 -0400)
Reworked the remote authentication
1
2
mod/item.php
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
mod/item.php
index
2ebf5a2
,
28f393a
..
b1c0355
---
1
/
mod/item.php
---
2
/
mod/item.php
+++ b/
mod/item.php
@@@
-42,10
-43,10
+43,10
@@@
use Friendica\Util\Security
use Friendica\Util\Strings;
use Friendica\Worker\Delivery;
-require_once
'
include/items.php';
+require_once
__DIR__ . '/../
include/items.php';
function item_post(App $a) {
- if (!
local_user() && !remote_user
()) {
+ if (!
Session::isAuthenticated
()) {
return 0;
}