What is required to reference $this->Authentication->isImpersonating()
from a view?
I keep getting: AuthenticationHelper could not be found
.
I tried: $this->Identity->isImpersonating()
This gives me the error: Call to undefined method AppModelEntityUser::isImpersonating()
Everything else from the Authentication plugin works as intended.