diff --git a/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Sponsor.pm b/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Sponsor.pm index 7cbc1f90a4be..2da80a52caf6 100644 --- a/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Sponsor.pm +++ b/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Sponsor.pm @@ -319,7 +319,7 @@ sub auth_source_params_child { sub _build_source { my ($self) = @_; - return $self->app->profile->getSourceByType('Sponsor'); + return $self->app->profile->getSourceByType('SponsorEmail'); } =head1 AUTHOR