summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorJack Hay <jack@allspice.io>2023-05-03 21:21:58 -0400
committerGitHub <noreply@github.com>2023-05-03 21:21:58 -0400
commit402df1d6b461824b197c2b29166df2d66cf9ae1e (patch)
tree403bc891bea5842c8c2e6a65b2ac26e639e73025 /options
parentdbb37367854d108ebfffcac27837c0afac199a8e (diff)
downloadgitea-402df1d6b461824b197c2b29166df2d66cf9ae1e.tar.gz
gitea-402df1d6b461824b197c2b29166df2d66cf9ae1e.zip
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
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini1
1 files changed, 1 insertions, 0 deletions
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 <strong>Admin</s
teams.invite.title = You've been invited to join team <strong>%s</strong> in organization <strong>%s</strong>.
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