credentials should not be cleared if ping wasn't made due to empty ping url

Bug #676679 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Fix Released
High
Natalia Bidart
ubuntu-sso-client (Ubuntu)
Fix Released
High
Natalia Bidart

Bug Description

Right now, credentials are cleared after creating them if the ping url is None. This is cause by this piece of code:

    197 status = self._ping_url(app_name, email, creds)
    198 if status is None:
    199 yield self.clear_credentials()

we should check if status is None and if ping url was defined.

Related branches

Changed in ubuntu-sso-client:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Naty Bidart (nataliabidart)
tags: added: desktop+ u1-natty
Changed in ubuntu-sso-client:
status: Triaged → In Progress
Changed in ubuntu-sso-client:
status: In Progress → Fix Committed
Changed in ubuntu-sso-client (Ubuntu):
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Naty Bidart (nataliabidart)
Changed in ubuntu-sso-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.