Univention Bugzilla – Bug 47044
Logout from nextcloud should lead to UCS portal
Last modified: 2021-05-14 16:50:55 CEST
+++ This bug was initially created as a clone of Bug #46936 +++ When logging out of the Nextcloud App, the user should land at the UCS portal, instead of the login page.
It may be possible to implement this with a hook. There is a new postLogout() hook in NC, that I found in /var/www/html/lib/private/User/Session.php. It seems to not yet be documented, but it is emited in the source code: -------------------------------------------------- * Hooks available in scope \OC\User: [..] * - postLogout() -------------------------------------------------- This might be used to add a redirect to the logout page: Location: https://<FQDN>univention/portal/ Not sure how to do this, as I don't know PHP, but the docs are here: https://docs.nextcloud.com/server/13/developer_manual/api/OC/Share20/Hooks.html
should be still relevant for UCS 4.4