diff options
author | Tom Needham <tom@owncloud.com> | 2012-08-01 13:39:05 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2012-08-01 13:39:05 +0000 |
commit | c11c2d0fd46fbe2e74ff7fe2ff7205c5cb38ea9f (patch) | |
tree | 8b8ddc02b708e7fffc09dba3f24b0cc3496d8f0f /lib | |
parent | 2afe5f9b2b59094b632e79e0a0fec0cd70509273 (diff) | |
download | nextcloud-server-c11c2d0fd46fbe2e74ff7fe2ff7205c5cb38ea9f.tar.gz nextcloud-server-c11c2d0fd46fbe2e74ff7fe2ff7205c5cb38ea9f.zip |
Logout the user at the end of a call to be stateless
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api.php b/lib/api.php index a11dde1c6b8..454a6fd26d3 100644 --- a/lib/api.php +++ b/lib/api.php @@ -77,6 +77,8 @@ class OC_API { } else { self::respond($response); } + // logout the user to be stateles + OC_User::logout(); } /** |