One user can login just fine. One user always gets an "invalid email or password" error.
----------
My Setup
----------
I'm using pry to drop into a session here:
With the "working" user, I can call warden.authenticate!(auth_options) manually at this point and I get back the user I expect.
With the "failing" user, calling the same method on warden raises an exception.
When I look at the "working" warden object, I can see it has an @user instance variable set to the user I'm expecting.
On my "failing" warden object, @user = nil.
I don't know enough about warden yet to figure out what's going on here...looking into it.
But I figured I'd post here as well since someone may be able to shed some light on this.
So what's going on here? Why does that warden object have a nil @user? It's like @user isn't getting set at some point in the request...so where does that happe? Or am I thinking about this all wrong?
Thanks
Kenton