<p>Fixed by upgrading to 2.6.2997.</p>

CC BY-SA 3.0
2017-11-13T19:58:45.927Z
2017-11-13T19:58:45.927Z
Adam Ladrach
<p>I'm having a really weird issue with user registration. I've got verification turned off, and logging in after activation turned on, so that when a user registers then checks out, it's a seamless flow. And this works. But the login form at <code>/login</code> does not. Whenever I try to create an account I get this in the logs: </p>

<pre><code>$_POST=array (
  'action' =&gt; 'users/saveUser',
  'redirect' =&gt; '/confirm-account',
  'firstName' =&gt; 'Test',
  'lastName' =&gt; 'User',
  'email' =&gt; 'testuser9181@gmail.com',
  'password' =&gt; REDACTED,
)

$_SESSION=array (
  '8dfc5494412903b44af114111435fc5cYii.CWebUser.flash.error' =&gt; 'Invalid username or password.',
  '8dfc5494412903b44af114111435fc5cYii.CWebUser.flashcounters' =&gt; 
  array (
    'error' =&gt; 0,
  ),
)
</code></pre>

<p>Any idea what might be going on here? I have no idea what's causing this, and why it's working on one page and not the other. I can copy/paste the registration code from the checkout page and it will not work at <code>/login</code>. The same template is being extended.</p>

CC BY-SA 3.0
2017-11-13T19:58:31.847Z
Fixed by updating to 2.6.2997
Adam Ladrach
CC BY-SA 3.0
2017-11-13T20:04:45.453Z
It might be a good idea to accept your own answer so the question is marked as "solved"
Robin Schambach
CC BY-SA 3.0
2017-11-13T20:09:13.350Z
I tried, I can't accept my own answer for 2 days.
Adam Ladrach
<users>
"Invalid username or password" when registering and logging in a user
# "Invalid username or password" when registering and logging in a user

(Asked by: username_0 on 2017-11-13)

I'm having a really weird issue with user registration. I've got verification turned off, and logging in after activation turned on, so that when a user registers then checks out, it's a seamless flow. And this works. But the login form at /login does not. Whenever I try to create an account I get this in the logs: 
$_POST=array (
  'action' => 'users/saveUser',
  'redirect' => '/confirm-account',
  'firstName' => 'Test',
  'lastName' => 'User',
  'email' => 'testuser9181@gmail.com',
  'password' => REDACTED,
)

$_SESSION=array (
  '8dfc5494412903b44af114111435fc5cYii.CWebUser.flash.error' => 'Invalid username or password.',
  '8dfc5494412903b44af114111435fc5cYii.CWebUser.flashcounters' => 
  array (
    'error' => 0,
  ),
)

Any idea what might be going on here? I have no idea what's causing this, and why it's working on one page and not the other. I can copy/paste the registration code from the checkout page and it will not work at /login. The same template is being extended.

**Tags:** users
> **Comments:**
> **username_0**: Fixed by updating to 2.6.2997  
> **username_1**: It might be a good idea to accept your own answer so the question is marked as "solved"  
> **username_0**: I tried, I can't accept my own answer for 2 days.  

---

## 1 answers

### Answer by username_0 on 2017-11-13. Score: 1

Fixed by upgrading to 2.6.2997.


---

