From 402df1d6b461824b197c2b29166df2d66cf9ae1e Mon Sep 17 00:00:00 2001 From: Jack Hay Date: Wed, 3 May 2023 21:21:58 -0400 Subject: Prevent a user with a different email from accepting the team invite (#24491) ## Changes - Fixes the case where a logged in user can accept an email invitation even if their email address does not match the address in the invitation --- options/locale/locale_en-US.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'options') diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b4d5ba00bc..180fd1c18d 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2559,6 +2559,7 @@ teams.all_repositories_admin_permission_desc = This team grants Admin%s in organization %s. teams.invite.by = Invited by %s teams.invite.description = Please click the button below to join the team. +teams.invite.email_mismatch = Your email address does not match this invite. [admin] dashboard = Dashboard -- cgit v1.2.3