Logout the user at the end of a call to be stateless
This commit is contained in:
parent
2afe5f9b2b
commit
c11c2d0fd4
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ class OC_API {
|
|||
} else {
|
||||
self::respond($response);
|
||||
}
|
||||
// logout the user to be stateles
|
||||
OC_User::logout();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue