Skip to content

fix: transform underscores to hyphens for github login #13384

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

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

kylecarbs
Copy link
Member

Fixes #13339.

@kylecarbs kylecarbs self-assigned this May 28, 2024
@kylecarbs kylecarbs requested a review from mafredri May 28, 2024 16:14
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Scary to think what might happen if there is some_user and some-user 😬.

@kylecarbs
Copy link
Member Author

I'd like to think that's the edge-case of an edge-case, but maybe not...

@johnstcn
Copy link
Member

I'd like to think that's the edge-case of an edge-case, but maybe not...

Yeah, I think it would be a good call to have a test case for this so the behaviour is at least 'documented' as such.

@Emyrk
Copy link
Member

Emyrk commented May 29, 2024

Scary to think what might happen if there is some_user and some-user 😬.

At least their uid on the GH side would be different. Which is what we use for account link lookup iirc

@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 6, 2024
@github-actions github-actions bot closed this Jun 9, 2024
@kylecarbs kylecarbs reopened this Jun 11, 2024
@kylecarbs kylecarbs enabled auto-merge (squash) June 11, 2024 13:26
@kylecarbs kylecarbs merged commit c9cca9d into main Jun 11, 2024
27 checks passed
@kylecarbs kylecarbs deleted the ghentusername branch June 11, 2024 13:34
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale This issue is like stale bread.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question: Is there a way to change forced username format in Coder OSS
4 participants