Skip to content
Snippets Groups Projects
Commit ac19063a authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix problem with username suggestion

parent 0e26fad6
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ usernameIsAvaliable = (username) ->
else
usernames.push user.name
nameParts = user?.name?.split()
nameParts = user?.name?.split(' ')
if nameParts.length > 1
first = nameParts[0]
last = nameParts[nameParts.length - 1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment