apps/files_sharing/lib/Helper.php 1 location
|
@@ 119-125 (lines=7) @@
|
| 116 |
|
return true; |
| 117 |
|
} |
| 118 |
|
} |
| 119 |
|
} else { |
| 120 |
|
// not authenticated ? |
| 121 |
|
if (\OC::$server->getSession()->exists('public_link_authenticated') |
| 122 |
|
&& \OC::$server->getSession()->get('public_link_authenticated') !== (string)$share->getId()) { |
| 123 |
|
return true; |
| 124 |
|
} |
| 125 |
|
} |
| 126 |
|
return false; |
| 127 |
|
} |
| 128 |
|
|
lib/private/Share/Share.php 1 location
|
@@ 2593-2596 (lines=4) @@
|
| 2590 |
|
return true; |
| 2591 |
|
} |
| 2592 |
|
|
| 2593 |
|
if ( \OC::$server->getSession()->exists('public_link_authenticated') |
| 2594 |
|
&& \OC::$server->getSession()->get('public_link_authenticated') === (string)$linkItem['id'] ) { |
| 2595 |
|
return true; |
| 2596 |
|
} |
| 2597 |
|
|
| 2598 |
|
return false; |
| 2599 |
|
} |