Merge pull request #11710 from owncloud/closeSessionForAvatars
Close session for avatar get
This commit is contained in:
commit
2584ba29ea
|
@ -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'];
|
||||||
|
|
Loading…
Reference in New Issue