~ubuntuone-control-tower/ubuntu-sso-client/stable-1-2

« back to all changes in this revision

Viewing changes to ubuntu_sso/main/linux.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2011-03-21 16:31:49 UTC
  • mfrom: (678.2.2 displayname)
  • Revision ID: tarmac-20110321163149-37pv1vbl1pa7rs9a
- Register now uses the 'displayname' field to pass it on to SSO as display name (LP: #709494).

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
                     'app_name "%s" and error %r', app_name, error)
111
111
 
112
112
    @dbus.service.method(dbus_interface=DBUS_IFACE_USER_NAME,
113
 
                         in_signature='sssss')
114
 
    def register_user(self, app_name, email, password,
 
113
                         in_signature='ssssss')
 
114
    def register_user(self, app_name, email, password, name,
115
115
                      captcha_id, captcha_solution):
116
116
        """Call the matching method in the processor."""
117
 
        self.root.register_user(app_name, email, password, captcha_id,
 
117
        self.root.register_user(app_name, email, password, name, captcha_id,
118
118
                                captcha_solution, blocking,
119
119
                                self.UserRegistered,
120
120
                                self.UserRegistrationError)