X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=htetc%2Fhandler.pl;h=a4517e66ab96c703277dcb229cde238051d71145;hb=484e9cb891ba36b2ca4ec63575602d4434b13545;hp=5e34c1e0db6e393a90f8f95fb0615a07ae169172;hpb=9dc88f6c738f30ce1eb6339ba4b739b45555dea4;p=freeside.git diff --git a/htetc/handler.pl b/htetc/handler.pl index 5e34c1e0d..a4517e66a 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -289,12 +289,20 @@ sub handler }; - unless ( $HTML::Mason::r->filename =~ /\/rt\/.*NoAuth/ ) { #RT + if ( $HTML::Mason::r->filename !~ /\/rt\/.*NoAuth/ ) { #not RT images/JS + $cgi = new CGI; &cgisuidsetup($cgi); #&cgisuidsetup($r); $p = popurl(2); $fsurl = rooturl(); + + } elsif ( $HTML::Mason::r->filename =~ /\/rt\/REST\/.*NoAuth/ ) { + + #need to log somebody in for the mail gw + #&adminsuidsetup('fs_selfservice'); #old installs w/'fs_selfserv'?? + &adminsuidsetup('fs_queue'); + } sub include {