Skip to content
New issue

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

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

Already on GitHub? # to your account

allow users to change their usernames #745

Closed
barisusakli opened this issue Jan 9, 2014 · 3 comments
Closed

allow users to change their usernames #745

barisusakli opened this issue Jan 9, 2014 · 3 comments
Assignees
Milestone

Comments

@barisusakli
Copy link
Member

things to update

'username': username,
'userslug': userslug,

in user hash and

db.setObjectField('username:uid', username, uid);
db.setObjectField('userslug:uid', userslug, uid);

@ghost ghost assigned barisusakli Jan 9, 2014
@akhoury
Copy link
Member

akhoury commented Jan 9, 2014

db.searchRemove('user', {id});
db.searchIndex('user', {username}, {id})

no?

@akhoury
Copy link
Member

akhoury commented Jan 9, 2014

based on a trial and error session that I had

@barisusakli
Copy link
Member Author

onice one totally forgot search, thanks!

barisusakli added a commit that referenced this issue Jan 9, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants