mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #11710 from owncloud/closeSessionForAvatars
Close session for avatar get
This commit is contained in:
commit
2584ba29ea
1 changed files with 1 additions and 0 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue