This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Version 0.7.1
Pre-release
Pre-release
Added
- made it possible to override the redirect path for
ProtectMiddleware
(orCustomUserProtectMiddleware
) 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
.