MT#9177 Use custom bootstrap uri in this layout

ipeshinskaya/9177
Irina Peshinskaya 11 years ago
parent bfd2f7a96c
commit bd2a026ed4

@ -33,11 +33,13 @@ sub dispatch{
select => ['me.parameter_value'], select => ['me.parameter_value'],
}); });
my $sync_params = $sync_params_rs->first ? $sync_params_rs->first->parameter_value : ''; my $sync_params = $sync_params_rs->first ? $sync_params_rs->first->parameter_value : '';
my $params = { my $params = {
c => $c, c => $c,
mac => $fdev->identifier, mac => $fdev->identifier,
mac_old => $old_identifier, mac_old => $old_identifier,
bootstrap_method => $device->bootstrap_method, bootstrap_method => $device->bootstrap_method,
redirect_uri => $device->bootstrap_uri,
redirect_uri_params => $sync_params, redirect_uri_params => $sync_params,
credentials => $vcredentials, credentials => $vcredentials,
}; };

Loading…
Cancel
Save