Post Login Hook

Hello,

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?

Well, WebDAV requests do not perform a login :face_with_raised_eyebrow:

Thanks for the fast answere.
Are there other hooks or events for webdav (e. g. for a initial first login/connect, …)?