public function AccountProxy::isAuthenticated in Restrict Login or Role Access by IP Address 8.4
Returns TRUE if the account is authenticated.
Return value
bool TRUE if the account is authenticated.
Overrides AccountInterface::isAuthenticated
File
- src/
Session/ AccountProxy.php, line 90  - Contains \Drupal\restrict_by_ip\Session\AccountProxy.
 
Class
- AccountProxy
 - When the current user is loaded, remove any roles that are restricted based on IP whitelists. Proxy all other method calls to the original current_user service.
 
Namespace
Drupal\restrict_by_ip\SessionCode
public function isAuthenticated() {
  return $this->original
    ->isAuthenticated();
}