[Rt-commit] rt branch, 4.0/remove-web-external-only, created. rt-4.0.6-243-g71c59d6
Thomas Sibley
trs at bestpractical.com
Wed Jul 11 12:21:02 EDT 2012
The branch, 4.0/remove-web-external-only has been created
at 71c59d6157d08be514a00b359290d7f7486a0f92 (commit)
- Log -----------------------------------------------------------------
commit 71c59d6157d08be514a00b359290d7f7486a0f92
Author: Thomas Sibley <trs at bestpractical.com>
Date: Wed Jul 11 09:11:40 2012 -0700
WebExternalOnly was renamed to WebFallbackToInternalAuth
Although it was caught in 21874f2c back in 2006, that commit was
accidentally reverted in 3027bf06 during a merge.
This commit applies effectively the same diff as 21874f2c.
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 748caa3..5ca6d99 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -661,7 +661,7 @@ sub AttemptExternalAuth {
delete $HTML::Mason::Commands::session{'CurrentUser'};
$user = $orig_user;
- if ( RT->Config->Get('WebExternalOnly') ) {
+ unless ( RT->Config->Get('WebFallbackToInternalAuth') ) {
TangentForLoginWithError('You are not an authorized user');
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list