Skip to content
Snippets Groups Projects
Commit c11c2d0f authored by Tom Needham's avatar Tom Needham
Browse files

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

parent 2afe5f9b
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,8 @@ class OC_API {
} else {
self::respond($response);
}
// logout the user to be stateles
OC_User::logout();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment