Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6452

Show
Ignore:
Timestamp:
03/20/07 02:56:42 (1 year ago)
Author:
minam
Message:

allow that identity_url may be nil

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/open_id_authentication/lib/open_id_authentication.rb

    r6334 r6452  
    9393    def complete_open_id_authentication 
    9494      open_id_response = timeout_protection_from_identity_server { open_id_consumer.complete(params) } 
    95       identity_url     = normalize_url(open_id_response.identity_url) 
     95      identity_url     = normalize_url(open_id_response.identity_url) if open_id_response.identity_url 
    9696 
    9797      case open_id_response.status