Skip to content
Snippets Groups Projects
Commit 2584ba29 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #11710 from owncloud/closeSessionForAvatars

Close session for avatar get
parents e75c2edb 3b42d3cf
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ class Controller { ...@@ -12,6 +12,7 @@ class Controller {
public static function getAvatar($args) { public static function getAvatar($args) {
\OC_JSON::checkLoggedIn(); \OC_JSON::checkLoggedIn();
\OC_JSON::callCheck(); \OC_JSON::callCheck();
\OC::$server->getSession()->close();
$user = stripslashes($args['user']); $user = stripslashes($args['user']);
$size = (int)$args['size']; $size = (int)$args['size'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment