From 2e45570d77fd79d583f749e454e0ee5ea4877e59 Mon Sep 17 00:00:00 2001 From: Adrien ROCHEDY Date: Tue, 15 Sep 2020 14:54:09 +0200 Subject: [PATCH] Update defaultRules.js Co-authored-by: TibTib --- defaultRules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaultRules.js b/defaultRules.js index 571bf68..29caca6 100644 --- a/defaultRules.js +++ b/defaultRules.js @@ -29,7 +29,7 @@ const defaultRules = { return true; }, equalPassword(dataToCompare, value) { - return dataToCompare == value; + return dataToCompare === value; } };