diff options
Diffstat (limited to 'www/rt42/files/patch-lib_RT_Config.pm')
-rw-r--r-- | www/rt42/files/patch-lib_RT_Config.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/rt42/files/patch-lib_RT_Config.pm b/www/rt42/files/patch-lib_RT_Config.pm new file mode 100644 index 0000000..db81ec3 --- /dev/null +++ b/www/rt42/files/patch-lib_RT_Config.pm @@ -0,0 +1,17 @@ +--- lib/RT/Config.pm.orig 2016-06-08 21:49:02 UTC ++++ lib/RT/Config.pm +@@ -143,6 +143,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, |