From 4d7aff3e08651104e350513fdfa337fc8aec78a1 Mon Sep 17 00:00:00 2001 From: Michael Born Date: Wed, 9 Dec 2020 15:05:27 -0500 Subject: [PATCH] fix: Correct validator interface error message The `userValidator()` method has been changed to `roleValidator()`, but the error message was forgotten. --- interceptors/Security.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interceptors/Security.cfc b/interceptors/Security.cfc index 316f165..1dacd52 100644 --- a/interceptors/Security.cfc +++ b/interceptors/Security.cfc @@ -460,7 +460,7 @@ component accessors="true" extends="coldbox.system.Interceptor" { variables.validator = arguments.validator; } else { throw( - message = "Validator object does not have a 'userValidator()' and `annotationValidator()' methods. I can only register objects with these interface methods.", + message = "Validator object requires either a 'ruleValidator()' or `annotationValidator()' method. I can only register objects with these interface methods.", type = "Security.ValidatorMethodException" ); }