Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to change a person's real name #1211

Merged
merged 3 commits into from
Oct 23, 2015
Merged

Provide a way to change a person's real name #1211

merged 3 commits into from
Oct 23, 2015

Conversation

graywolf336
Copy link
Contributor

Currently there is no way to change a person's "name" which they entered when registering for the website. This will allow people to change that via their account.

if user.name is name
return name

if not /^[0-9a-zA-Z-_. ]+$/.test name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name should allow the real user name, so I think only trim the name and verify is empty is the correct way

@rodrigok
Copy link
Member

@graywolf336 This PR has conflict now, can you solve it?

@graywolf336
Copy link
Contributor Author

@rodrigok Done, mind taking another look? Not sure why the npm-shrinkwarp.json file changed. Let me know if there's anything else which needs to be done.

rodrigok added a commit that referenced this pull request Oct 23, 2015
Provide a way to change a person's real name
@rodrigok rodrigok merged commit 35df693 into RocketChat:master Oct 23, 2015
@graywolf336 graywolf336 deleted the change-name branch October 23, 2015 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants