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

Fix misuse of system.trashcan() caught by new parameter validation exceptions

newuser.js line 57: Error: Insufficient Arguments (1 provided, a minimum of 2 expected)
parent 7cb684c3
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ function chk_qwk_id(str)
if(userfound && userfound!=user.number)
return(false);
if(system.trashcan(str))
if(system.trashcan("name", str))
return(false);
if(str.toLowerCase() == user.security.password.toLowerCase())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment