summaryrefslogtreecommitdiffstats
path: root/www/rt42/files/patch-lib_RT_Config.pm
blob: db81ec3f5f6f22d3ccf65d831f5727ea98859cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,
OpenPOWER on IntegriCloud