From 723c63008df09b6472b51da191b83e7c4bf65b60 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 10 Jul 2026 12:13:44 +0200 Subject: [PATCH] Team invite: Improve error message (Z#23239860) (#6368) --- src/pretix/control/views/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pretix/control/views/auth.py b/src/pretix/control/views/auth.py index 143d3cfcc..687d7f85b 100644 --- a/src/pretix/control/views/auth.py +++ b/src/pretix/control/views/auth.py @@ -243,7 +243,8 @@ def invite(request, token): if request.user.is_authenticated: if inv.team.members.filter(pk=request.user.pk).exists(): messages.error(request, _('You cannot accept the invitation for "{}" as you already are part of ' - 'this team.').format(inv.team.name)) + 'this team. If you want to add a different user or create a new account, ' + 'log out and click the invitation link again.').format(inv.team.name)) return redirect('control:index') else: with transaction.atomic():