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

(-)a/Koha/Auth/Client.pm (-13 / +11 lines)
Lines 69-86 sub get_user { Link Here
69
    my $domain = $self->has_valid_domain_config({ provider => $provider, email => $mapped_data->{email}, interface => $interface});
69
    my $domain = $self->has_valid_domain_config({ provider => $provider, email => $mapped_data->{email}, interface => $interface});
70
70
71
    # Call the plugin hook "auth_client_get_user" of all plugins.
71
    # Call the plugin hook "auth_client_get_user" of all plugins.
72
    my $args = {
72
    Koha::Plugins->call(
73
        provider    => $provider,
73
        'auth_client_get_user',
74
        data        => $data,
74
        {
75
        config      => $config,
75
            provider    => $provider,
76
        mapped_data => $mapped_data,
76
            data        => $data,
77
        patron      => $patron,
77
            config      => $config,
78
        domain      => $domain,
78
            mapped_data => $mapped_data,
79
    };
79
            patron      => $patron,
80
    Koha::Plugins->call('auth_client_get_user', $args);
80
            domain      => $domain,
81
    $mapped_data = $args->{'mapped_data'};
81
        }
82
    $patron      = $args->{'patron'};
82
    );
83
    $domain      = $args->{'domain'};
84
83
85
    $patron->set($mapped_data)->store if $patron && $domain->update_on_auth;
84
    $patron->set($mapped_data)->store if $patron && $domain->update_on_auth;
86
85
87
- 

Return to bug 36503