[Rt-commit] rt branch, master, updated. rt-4.0.0rc6-171-g364e70a

Kevin Falcone falcone at bestpractical.com
Mon Mar 21 16:40:45 EDT 2011


The branch, master has been updated
       via  364e70ab01bcdc22aaa655bf25b636ebc6dc8042 (commit)
      from  37405530e62a15b93b67bd1b387babce53c12ed0 (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 364e70ab01bcdc22aaa655bf25b636ebc6dc8042
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Mar 21 16:40:05 2011 -0400

    This is dead code from 2.1.11 that was never doc'ed or used

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 63d4302..a0a6ea4 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -576,10 +576,6 @@ sub AttemptExternalAuth {
         } else {
             delete $HTML::Mason::Commands::session{'CurrentUser'};
             $user = $orig_user;
-
-            if ( RT->Config->Get('WebExternalOnly') ) {
-                TangentForLoginWithError('You are not an authorized user');
-            }
         }
     } elsif ( RT->Config->Get('WebFallbackToInternalAuth') ) {
         unless ( defined $HTML::Mason::Commands::session{'CurrentUser'} ) {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list