Merge pull request #11710 from owncloud/closeSessionForAvatars

Close session for avatar get
This commit is contained in:
Thomas Müller 2014-10-23 11:36:47 +02:00
commit 2584ba29ea
1 changed files with 1 additions and 0 deletions

View File

@ -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'];