dotkernel / dot-rbac-guard

DotKernel component for authorizing bigger parts of an application
https://docs.dotkernel.org/dot-rbac-guard/
MIT License
3 stars 0 forks source link

update condition for route result #10

Closed bidi47 closed 2 years ago

bidi47 commented 2 years ago

in certain configurations, the $routeResult will be a RouteResult object, but will have its getMatchedRouteName() == false add a check to make sure getMatchedRouteName() is not false

bidi47 commented 2 years ago

fixed in https://github.com/dotkernel/dot-rbac-guard/pull/11