Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix bug preventing site admins from directly adding org members when email.smtp was set#63569

Merged
sqs merged 1 commit into
mainfrom
sqs/fix-site-admin-invite-smtp
Jul 1, 2024
Merged

fix bug preventing site admins from directly adding org members when email.smtp was set#63569
sqs merged 1 commit into
mainfrom
sqs/fix-site-admin-invite-smtp

Conversation

@sqs

@sqs sqs commented Jul 1, 2024

Copy link
Copy Markdown
Member

Fixes https://linear.app/sourcegraph/issue/SRCH-655/site-admins-cant-add-users-wo-verified-emails-to-orgs-if-email-sending

Test plan

As a site admin on a site with email.smtp configured in site config, try inviting a user who lacks a verified email directly. Confirm that it succeeds and does not error out due to not having a verified email.

Changelog

  • Fixed a bug where site admins could not directly add users to an organization if (1) email sending was configured for the instance and (2) the user had no verified email address.

@sqs sqs requested a review from a team July 1, 2024 07:49
@cla-bot cla-bot Bot added the cla-signed label Jul 1, 2024
@sqs sqs merged commit c713afe into main Jul 1, 2024
@sqs sqs deleted the sqs/fix-site-admin-invite-smtp branch July 1, 2024 18:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants