You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have access trough the serviceLocator. $auth = $this->getServiceLocator()->get('Zend\Authentication\AuthenticationService');
if ($auth->hasIdentity()) {
$identity = $auth->getIdentity();
}
How can i check if a user is logged in from anywhere in the application?
The text was updated successfully, but these errors were encountered: