-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
changing username by admin #699
Conversation
This also looks solid. Going to test both this and #696. The underlying method hasn't been tested fully. |
Guys, update the username is not that simple. You need to use the method. There are a lot of checking and references that need o be updated together, not just the users collection. |
Need to call /packages/rocketchat-lib/server/methods/setUsername.coffee |
Updated so the update method is only called once. New to meteor, didn't realise that was possible. Thanks! |
I think this should be done, but using the right method call |
…od to ensure it's the correct user
@engelgabriel fixed to use the setUsername method. |
changing username by admin
Addresses #698