Anybody know how to get model and method name used in Auth finder
option?
I know when I set custom finder
can get the name from $this->Auth->config();
, but how to this for default finder?
Anybody know how to get model and method name used in Auth finder
option?
I know when I set custom finder
can get the name from $this->Auth->config();
, but how to this for default finder?
Maybe someone will use it:
$authenticate = $this->Auth->getAuthenticate('Form');
echo $authenticate->getConfig('finder');