~mardy/signon-ui/lp1171853

« back to all changes in this revision

Viewing changes to src/browser-request.cpp

  • Committer: Alberto Mardegan
  • Date: 2012-11-13 09:46:57 UTC
  • mfrom: (66.3.4 reauthentication)
  • Revision ID: alberto.mardegan@canonical.com-20121113094657-d8goas34wnw9u034
New ReauthenticateAccount D-Bus API

This method will allow reauthenticating an account by replaying the
authentication session which caused the failure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
414
414
                     this, SLOT(onUrlChanged(const QUrl&)));
415
415
 
416
416
    /* set a per-identity cookie jar on the page */
417
 
    uint identity = 0;
418
 
    if (params.contains(SSOUI_KEY_IDENTITY)) {
419
 
        identity = params.value(SSOUI_KEY_IDENTITY).toUInt();
420
 
    }
 
417
    uint identity = q->identity();
421
418
    CookieJarManager *cookieJarManager = CookieJarManager::instance();
422
419
    CookieJar *cookieJar = cookieJarManager->cookieJarForIdentity(identity);
423
420
    addBrowserCookies(cookieJar);