Skip to content
Snippets Groups Projects
Commit 1685ecde authored by echicken's avatar echicken
Browse files

Better comparison of current username & guest username.

parent 9912cc08
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ load(webIni.webRoot + '/lib/captchaLib.ssjs');
openPage("New User Registration");
print("<span class=titleFont>New User Registration</span><br /><br />");
if(http_request.query.hasOwnProperty('action') && http_request.query.action == 'newUser' && user.alias == webIni.guestUser) {
if(http_request.query.hasOwnProperty('action') && http_request.query.action == 'newUser' && user.alias.toUpperCase() == webIni.guestUser.toUpperCase()) {
/* The various 'x not provided' errors should only crop up if somebody
messed with our newuser form or posted from another form. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment