Skip to content

Commit

Permalink
Allow overwriting isAuthenticated
Browse files Browse the repository at this point in the history
* Some implementations might check for different things
* IT will not change how the current ones work

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer committed Mar 8, 2021
1 parent 43b3333 commit 579574e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/public/AppFramework/PublicShareController.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ abstract protected function isPasswordProtected(): bool;
*
* @since 14.0.0
*/
final public function isAuthenticated(): bool {
public function isAuthenticated(): bool {
// Always authenticated against non password protected shares
if (!$this->isPasswordProtected()) {
return true;
Expand Down

0 comments on commit 579574e

Please sign in to comment.