Update source/utils/session.bs

This commit is contained in:
Charles Ewert 2024-01-12 17:05:25 -05:00
parent 6f88e9a032
commit 52403ca454

View File

@ -126,7 +126,7 @@ namespace session
tmpSessionUser[key] = value
' keep friendlyName in sync
if key = "name"
if LCase(key) = "name"
regex = CreateObject("roRegex", "[^a-zA-Z0-9\ \-\_]", "")
tmpSessionUser["friendlyName"] = regex.ReplaceAll(value, "")
end if