summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-14 11:14:55 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-20 08:53:37 +0200
commite7338173e87c92053470f9d9419555c2fcf5b1cf (patch)
tree0bc2dc3ec33cbfbb9b8bd49cbe34b0b79e260101 /lib/private/AppFramework
parent58376db92eb51b1c5f20b0553d2b7c6ab873a9ad (diff)
downloadnextcloud-server-e7338173e87c92053470f9d9419555c2fcf5b1cf.tar.gz
nextcloud-server-e7338173e87c92053470f9d9419555c2fcf5b1cf.zip
Add PublicShareMiddlewareTest
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php b/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php
index 92b1673b640..05783b21900 100644
--- a/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php
+++ b/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php
@@ -58,7 +58,7 @@ class PublicShareMiddleware extends Middleware {
}
// If authentication succeeds just continue
- if ($controller->isAuthenticated($token)) {
+ if ($controller->isAuthenticated()) {
return;
}