Logout the user at the end of a call to be stateless

remotes/origin/stable5
Tom Needham 13 years ago
parent 2afe5f9b2b
commit c11c2d0fd4
  1. 2
      lib/api.php

@ -77,6 +77,8 @@ class OC_API {
} else {
self::respond($response);
}
// logout the user to be stateles
OC_User::logout();
}
/**

Loading…
Cancel
Save