Update source/utils/session.bs
This commit is contained in:
parent
6f88e9a032
commit
52403ca454
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user