8000 fix: do not query user_link for deleted accounts by Emyrk · Pull Request #12112 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: do not query user_link for deleted accounts #12112

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 15 commits into from
Feb 13, 2024
Prev Previous commit
Add links to existing issues
  • Loading branch information
Emyrk committed Feb 13, 2024
commit b0c3cbb1ece35ab2e9eaaec7173516526080a641
3 changes: 3 additions & 0 deletions coderd/userauth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,9 @@ func TestUserOAuth2Github(t *testing.T) {
})

// The bug only is exercised when a deleted user with the same linked_id exists.
// Still related open issues:
// - https://github.com/coder/coder/issues/12116
// - https://github.com/coder/coder/issues/12115
t.Run("ChangedEmail", func(t *testing.T) {
t.Parallel()

Expand Down
0