diff options
Diffstat (limited to 'www/rt44/files/patch-lib_RT_Config.pm')
-rw-r--r-- | www/rt44/files/patch-lib_RT_Config.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/rt44/files/patch-lib_RT_Config.pm b/www/rt44/files/patch-lib_RT_Config.pm new file mode 100644 index 0000000..444f7d5 --- /dev/null +++ b/www/rt44/files/patch-lib_RT_Config.pm @@ -0,0 +1,17 @@ +--- lib/RT/Config.pm.orig 2016-07-18 20:20:17 UTC ++++ lib/RT/Config.pm +@@ -147,6 +147,14 @@ can be set for each config optin: + our %META; + %META = ( + # General user overridable options ++ RestrictReferrerLogin => { ++ PostLoadCheck => sub { ++ my $self = shift; ++ if (defined($self->Get('RestrictReferrerLogin'))) { ++ RT::Logger->error("The config option 'RestrictReferrerLogin' is incorrect, and should be 'RestrictLoginReferrer' instead."); ++ } ++ }, ++ }, + DefaultQueue => { + Section => 'General', + Overridable => 1, |