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