1.3.0
Notable changes
- feat: custom logout hook
Logout Hook
It is often helpful and good UX to provide the user a way of logging out. You can use a custom Kirby hook for this use-case.
Trigger the locked-pages.logout
hook to clear the locked pages' session data. Once logged out, the user will have to enter the password again to visit the locked page.
kirby()->trigger('locked-pages.logout');