#80 ✓moved_to_github
Daniel

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

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.

New-ticket Create new ticket

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.

People watching this ticket

Tags

Pages