diff --git a/web/root/ecWeb/newUser.ssjs b/web/root/ecWeb/newUser.ssjs index 1a89e10d48e44c1eb46a9e0e255ab7297ee2e0d9..8f508223c245dc291d78579ffed6896643d0bda9 100644 --- a/web/root/ecWeb/newUser.ssjs +++ b/web/root/ecWeb/newUser.ssjs @@ -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. */