original_string: protected function _isLoginAction(Controller $controller)
      {
          $uri = $controller->request->getUri();
          $url = Router::normalize($uri->getPath());
          $loginAction = Router::normalize($this->_config['loginAction']);
  
          return $loginAction === $url;
      }
code: protected function _isLoginAction(Controller $controller)
      {
          $uri = $controller->request->getUri();
          $url = Router::normalize($uri->getPath());
          $loginAction = Router::normalize($this->_config['loginAction']);
  
          return $loginAction === $url;
      }
code_tokens: protected function _isLoginAction ( Controller $ controller ) { $ uri = $ controller -> request -> getUri ( ) ; $ url = Router :: normalize ( $ uri -> getPath ( ) ) ; $ loginAction = Router :: normalize ( $ this -> _config [ 'loginAction' ] ) ; return $ loginAction === $ url ; }
docstring: Normalizes config `loginAction` and checks if current request URL is same as login action.
  
  @param \Cake\Controller\Controller $controller A reference to the controller object.
  @return bool True if current action is login action else false.
docstring_tokens: Normalizes config loginAction and checks if current request URL is same as login action .