Skip to content
Snippets Groups Projects
Commit ab5219c9 authored by deuce's avatar deuce
Browse files

Don't case-diddle netmail address.

parent 2fb4957d
Branches
Tags
No related merge requests found
......@@ -175,7 +175,7 @@ else {
template.errs[fields[field]]="No Extended ASCII characters are allowed";
template.err_message+="Extended ASCII characters used.\r\n";
}
if(!(system.newuser_questions & UQ_NOUPRLWR)) {
if((!(system.newuser_questions & UQ_NOUPRLWR)) && fields[field] != "netmail") {
http_request.query[fields[field]][0]=http_request.query[fields[field]][0].replace(/^(\s*)(.)/g,
function (matched, ws, ch, offset, s) {
return(ws+ch.toUpperCase());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment