Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add postLogout hook to finish sessions from external session managers #27048
Added a second hook emit in the logout method in \OC\User\Session to achieve a cleaner logout routine, when using external session managers, like CAS.
Motivation and Context
When using external session managers, owncloud logout only allows to execute my own code before the oc session is terminated. Some of the mentioned session managers must be called after local sessions are terminated, otherwise the oc session is not terminated correctly.
How Has This Been Tested?
The new hook has been testet on an Ubuntu 14 installation with PHP 5.6 and Owncloud 9.1.3-1.1 and a CAS session management via user_cas Application.
Types of changes