I work on a App and use the Post Login Hook as follow:
$userHooks = $this->getContainer()->query(UserHooks::class); Util::connectHook('OC_User', 'post_login', $loginHooks, 'postLogin');
This hook is executed by the normal login over the website. But if I use WebDAV, the hook is not executed. Is there a trick to catch the login event/hook by using webdav?