original_string: function logme()
      {
          $password = Common::getRequestVar('password', null, 'string');
  
          $login = Common::getRequestVar('login', null, 'string');
          if (Piwik::hasTheUserSuperUserAccess($login)) {
              throw new Exception(Piwik::translate('Login_ExceptionInvalidSuperUserAccessAuthenticationMethod', array("logme")));
          }
  
          $currentUrl = 'index.php';
  
          if ($this->idSite) {
              $currentUrl .= '?idSite=' . $this->idSite;
          }
  
          $urlToRedirect = Common::getRequestVar('url', $currentUrl, 'string');
          $urlToRedirect = Common::unsanitizeInputValue($urlToRedirect);
  
          $this->authenticateAndRedirect($login, $password, $urlToRedirect, $passwordHashed = true);
      }
code: function logme()
      {
          $password = Common::getRequestVar('password', null, 'string');
  
          $login = Common::getRequestVar('login', null, 'string');
          if (Piwik::hasTheUserSuperUserAccess($login)) {
              throw new Exception(Piwik::translate('Login_ExceptionInvalidSuperUserAccessAuthenticationMethod', array("logme")));
          }
  
          $currentUrl = 'index.php';
  
          if ($this->idSite) {
              $currentUrl .= '?idSite=' . $this->idSite;
          }
  
          $urlToRedirect = Common::getRequestVar('url', $currentUrl, 'string');
          $urlToRedirect = Common::unsanitizeInputValue($urlToRedirect);
  
          $this->authenticateAndRedirect($login, $password, $urlToRedirect, $passwordHashed = true);
      }
code_tokens: function logme ( ) { $ password = Common :: getRequestVar ( 'password' , null , 'string' ) ; $ login = Common :: getRequestVar ( 'login' , null , 'string' ) ; if ( Piwik :: hasTheUserSuperUserAccess ( $ login ) ) { throw new Exception ( Piwik :: translate ( 'Login_ExceptionInvalidSuperUserAccessAuthenticationMethod' , array ( "logme" ) ) ) ; } $ currentUrl = 'index.php' ; if ( $ this -> idSite ) { $ currentUrl .= '?idSite=' . $ this -> idSite ; } $ urlToRedirect = Common :: getRequestVar ( 'url' , $ currentUrl , 'string' ) ; $ urlToRedirect = Common :: unsanitizeInputValue ( $ urlToRedirect ) ; $ this -> authenticateAndRedirect ( $ login , $ password , $ urlToRedirect , $ passwordHashed = true ) ; }
docstring: Form-less login
  @see how to use it on http://piwik.org/faq/how-to/#faq_30
  @throws Exception
  @return void
docstring_tokens: Form - less login