title: Kohana auth counting get_user as a login?
body: <p>I am messing about with KO3 and the auth module, I have logins working quite well, but I have noticed that every time I refresh the page the login count for my user increments.</p>
  
  <p>I am pretty sure it is coming from this section.</p>
  
  <pre><code>// Check if logged in
  if ($this-&gt;auth-&gt;logged_in())
  {
      // Pass user to view
      $this-&gt;view-&gt;user = $this-&gt;auth-&gt;get_user(); // Here?
  }
  else
  {
      // Attempt auto login
      $this-&gt;auth-&gt;auto_login();
  
      // Check if logged in
      if ($this-&gt;auth-&gt;logged_in())
      {
          // Pass user to view
          $this-&gt;view-&gt;user = $this-&gt;auth-&gt;get_user();
      }
  }
  </code></pre>
  
  <p>Now I am pretty sure it is the line where I pass the users object to the view. The line commented with <code>// Here?</code>.</p>
  
  <p>I just wondered why this would increment the logins. I have checked out the source and all it is doing is reading the session variables.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I thought I had this fixed after I had it explained to me. Apparently not. I am not pretty sure it is down to sessions, I have tried using the cookie and session classes from the GitHub repo but that made no difference.</p>
  
  <p>I am not sure where to begin debugging this.</p>