Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Version 0.7.1

Pre-release
Pre-release

Choose a tag to compare

@siemensikkema siemensikkema released this 31 May 12:10
· 19 commits to master since this release
6290f50

Added

  • made it possible to override the redirect path for ProtectMiddleware (or CustomUserProtectMiddleware) by supplying a closure like so:
ProtectMiddleware { user in
    "/path/to/user/\(user.id?.string ?? 0)/edit"
}

The same closure can be passed to PanelConfig so that it gets passed to the ProtectMiddleware by the Provider.