View | Details | Raw Unified | Return to bug 38382
Collapse All | Expand All

(-)a/misc/bin/connexion_import_daemon.pl (-2 / +3 lines)
Lines 407-414 exit; Link Here
407
        if ( $status == HTTP_UNAUTHORIZED || $status == HTTP_FORBIDDEN ) {
407
        if ( $status == HTTP_UNAUTHORIZED || $status == HTTP_FORBIDDEN ) {
408
408
409
            # Our token might have expired. Re-authenticate and post again.
409
            # Our token might have expired. Re-authenticate and post again.
410
            $ua                 = _ua();                 # fresh one, needs to authenticate
411
            $self->{ua}         = $ua;
410
            $self->{csrf_token} = $self->authenticate;
412
            $self->{csrf_token} = $self->authenticate;
411
            $resp = $ua->post(
413
            $resp               = $ua->post(
412
                $base_url . IMPORT_SVC_URI,
414
                $base_url . IMPORT_SVC_URI,
413
                $post_body,
415
                $post_body,
414
                csrf_token => $self->{csrf_token},
416
                csrf_token => $self->{csrf_token},
415
- 

Return to bug 38382