Hi Don

On 2013-08-26, at 9:39 AM, Don Greer <[email protected]> wrote:

>   Ok, per the last response, after doing the update, I carefully went through 
> EVERYTHING and made changes by hand to bring everything up to date in the 
> ./conf and ./html directories.  Also found a number of things in ./lib that 
> didn’t sync up, so did a whole-sale copy from an expanded –devel tree to 
> force that stuff to update.
>   One issue remained, which I previously reported, was a permissions issue on 
> accessing the sponsor-login page.  I simply commented out the if() that was 
> causing the necessary code not to run and forced it to generate the 
> permission.  I’ll put the diff here so that the devs can review and possibly 
> tell me why I’m broken.
> 
> 102,105c102,106
> <     if ($guest_regist_allowed && ($email_enabled || $sponsor_enabled)) {
> <         # | is for a regexp "or" as this is pulled from a 'Location ~' 
> statement
> <         $tags{'allowed_from_all_urls'} .= 
> "|$WEB::URL_EMAIL_ACTIVATION|$WEB::CGI_EMAIL_ACTIVATION";
> <     }
> ---
> > #    if ($guest_regist_allowed && ($email_enabled || $sponsor_enabled)) {
> > #        # | is for a regexp "or" as this is pulled from a 'Location ~' 
> > statement
> > #        $tags{'allowed_from_all_urls'} .= 
> > "|$WEB::URL_EMAIL_ACTIVATION|$WEB::CGI_EMAIL_ACTIVATION";
> > #    }
> >      $tags{'allowed_from_all_urls'} .= 
> > "|$WEB::URL_EMAIL_ACTIVATION|$WEB::CGI_EMAIL_ACTIVATION";
> 
>   Otherwise, it appears that I am now successfully up-to-date (well, for the 
> moment, this thing is a fast-moving target :^).
>   Don

This patch should fix the problem :

https://github.com/inverse-inc/packetfence/commit/dcc1f6d2758e1f92329311b678d71ea79d7bdc5c

It's in the devel branch and will be part of the next release.


Francis

--
[email protected] :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to