jeremykendall / slim-auth

Authorization and authentication for the Slim Framework using ZF2 Authentication and Acl components
MIT License
244 stars 38 forks source link

Accessing protected attribute #6

Closed hugofcampos closed 10 years ago

hugofcampos commented 10 years ago

In Authorization::call method, the slim-auth tries to access two protected methods

$resource = $app->router->getCurrentRoute()->getPattern();
$privilege = $app->request->getMethod();
hugofcampos commented 10 years ago

My mistake! Last SLIM version changed those attributes to public.