
UserSession.save returns true if signing in with OpenID even when confirmed? returns false
Reported by Daniel | April 4th, 2009 @ 04:53 PM
First, thanks for all the updates, Ben. Yesterday evening's fix is now working.
On to the bug report:
UserSession.save returns true if signing in with OpenID even when
confirmed? returns false for the user associated with that OpenID
identifier.
Items to note:
- when attempting to sign into an unconfirmed, password accessed
account, UserSession.save correctly returns false. - current_user()
correctly returns nil after this save. - when attempting to sign
into a confirmed, OpenID accessed account, current_user() correctly
returns the newly logged in User object
@user_session.save do |result|
if result
if current_user().login_count == 1 && !current_user().is_admin?
Thank You,
Daniel
Comments and changes to this ticket
-
Ben Johnson April 14th, 2009 @ 04:06 AM
- State changed from new to open
I'll play around with this some more and get it working.
-
Ben Johnson June 20th, 2009 @ 04:54 AM
Hi Dan, Yes, it's still on my list, I just haven't had time lately. If you want to take a crack at it that would be great, otherwise I'll try to get to it next week some time. Thanks!
-
Ben Johnson August 7th, 2009 @ 06:20 PM
- State changed from open to moved_to_github
[state:"moved_to_github" bulk edit command]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.