Skip to content
Snippets Groups Projects
Commit c011d987 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Rename bbs.good_password() to bbs.check_password() for consistency

... with the system object and the underlying SBBS functions being called.

Leave bbs.good_password() as an alias for backward compatibility.
parent 7f9b4c1b
Branches
No related tags found
No related merge requests found
Pipeline #8859 passed
......@@ -5011,9 +5011,10 @@ static jsSyncMethodSpec js_bbs_functions[] = {
, JSDOCSTR("Verify system password, prompting for the password if not passed as an argument.")
, 310
},
{"good_password", js_chkpass, 1, JSTYPE_BOOLEAN, JSDOCSTR("password, [forced_unique=false]")
{"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.).<br>"
"(length, uniqueness, etc.) (AKA good_password).<br>"
"When <i>forced_unique</i> is <tt>true</tt>, the password must be substantially different from the user's current password.")
, 310
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment