Does anyone know how to allow a - dash (hyphen) in the username? I've changes a few places to allow it:
($in{'userid'} =~ /^[a-zA-Z0-9_\-.]+$/))
but the username stored in the database turns out to be anything after the dash. For example, test-4 becomes 4.
($in{'userid'} =~ /^[a-zA-Z0-9_\-.]+$/))
but the username stored in the database turns out to be anything after the dash. For example, test-4 becomes 4.