lib/private/Share/Share.php 1 location
|
@@ 2495-2498 (lines=4) @@
|
| 2492 |
|
return true; |
| 2493 |
|
} |
| 2494 |
|
|
| 2495 |
|
if ( \OC::$server->getSession()->exists('public_link_authenticated') |
| 2496 |
|
&& \OC::$server->getSession()->get('public_link_authenticated') === (string)$linkItem['id'] ) { |
| 2497 |
|
return true; |
| 2498 |
|
} |
| 2499 |
|
|
| 2500 |
|
return false; |
| 2501 |
|
} |
apps/files_sharing/lib/Helper.php 1 location
|
@@ 120-126 (lines=7) @@
|
| 117 |
|
return true; |
| 118 |
|
} |
| 119 |
|
} |
| 120 |
|
} else { |
| 121 |
|
// not authenticated ? |
| 122 |
|
if (\OC::$server->getSession()->exists('public_link_authenticated') |
| 123 |
|
&& \OC::$server->getSession()->get('public_link_authenticated') !== (string)$share->getId()) { |
| 124 |
|
return true; |
| 125 |
|
} |
| 126 |
|
} |
| 127 |
|
return false; |
| 128 |
|
} |
| 129 |
|
|