Cool. I wondered what the null source was about and had a hunch it might do the 
trick but wasn't sure.


I will give it a go. Thanks.





On Mon, Jan 4, 2016 at 10:23 AM -0800, "Louis Munro" <[email protected]> wrote:





If you are not going to validate the email, then you might as well use the 
“Null” source and simply require email.

That way you won’t have to mess with the code and you should achieve the same 
result.

--
Louis Munro
[email protected]  ::  www.inverse.ca
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

> On Jan 4, 2016, at 12:09 , Andy A <[email protected]> wrote:
>
> Hi
>
> Using PF 5.2 in inline-mode on Centos 6.X
>
> When a guest signs up on the captive portal using an email, I would like to 
> disable sending out verification emails. It's a client requirement as they 
> think it's a cumbersome user experience.
> I have looked at the code. I would like to know if there would be any 
> negative side-effects for commenting out the following lines of code in
>
> captiveportal/PacketFence/Controller/Activate/Email.pm
>
> # Email activated guests only need to prove their email was valid by clicking 
> on the link.
>    if ( $activation_record->{'type'} eq $GUEST_ACTIVATION ) {
>        $c->forward('doEmailRegistration', [$code]);
>    }
>
> I would like to know couple of things
> 1. Whether commenting out the above lines would accomplish what I am looking 
> for?
> 2. What would be side-effects of doing so? If any.
>
> Thanks
> ------------------------------------------------------------------------------
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to