summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/avatar/controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index 03eb9da1dc5..ca055f5fd75 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -12,6 +12,7 @@ class Controller {
public static function getAvatar($args) {
\OC_JSON::checkLoggedIn();
\OC_JSON::callCheck();
+ \OC::$server->getSession()->close();
$user = stripslashes($args['user']);
$size = (int)$args['size'];