-
Notifications
You must be signed in to change notification settings - Fork 76
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
Make username configurable #915
base: trunk
Are you sure you want to change the base?
Conversation
at least for the WebFinger ID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am personally not sold on the need of changing the username but looks like there are many requests. It looks like this does the requested job.
'key' => 'activitypub_identifier', | ||
'value' => $username, | ||
'compare' => '=', | ||
), | ||
array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably not worth addressing but it could happen that you assign the identifier to a non-existent user at the time, and then register that username afterwards. In this scenario I believe the result here is undefined since you just pick the first result in the code below.
This feels like unnecessary complexity? Can't these users just use the Blog user, which is already configurable, instead? |
@mattwiebe the renaming itself is pretty straight forward, but the collision detection is a bit complex. I think I will postpone it for now. |
At least for the WebFinger ID
Fixes #141 #28 #71
Screenshot: