From c9a6be376b4651cd12e78500cb72e91d5508f0e5 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows 11)" <rob@synchro.net>
Date: Fri, 11 Apr 2025 18:07:22 -0700
Subject: [PATCH] Clarify in JSDOC that bbs.check_password() checks the
 password.can file

---
 src/sbbs3/js_bbs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/js_bbs.cpp b/src/sbbs3/js_bbs.cpp
index cece14de91..a2e6692754 100644
--- a/src/sbbs3/js_bbs.cpp
+++ b/src/sbbs3/js_bbs.cpp
@@ -5014,7 +5014,7 @@ static jsSyncMethodSpec js_bbs_functions[] = {
 	{"good_password",   js_chkpass,         1,  JSTYPE_ALIAS },
 	{"check_password",  js_chkpass,         1,  JSTYPE_BOOLEAN, JSDOCSTR("password, [forced_unique=false]")
 	 , JSDOCSTR("Check if requested user password meets minimum password requirements "
-		        "(length, uniqueness, etc.) (AKA good_password).<br>"
+		        "(length, uniqueness, etc.) (AKA good_password). Also checks the <tt>password.can</tt> filter file.<br>"
 		        "When <i>forced_unique</i> is <tt>true</tt>, the password must be substantially different from the user's current password.")
 	 , 310
 	},
-- 
GitLab