From e97c3bcc73637fe6597b2183d4132197860db991 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Fri, 9 Dec 2016 12:20:03 +0000 Subject: [PATCH] Tweaked the wording of the expired invitation message. --- app/accept_invite/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/accept_invite/rest.py b/app/accept_invite/rest.py index e62de8079..bebc41b76 100644 --- a/app/accept_invite/rest.py +++ b/app/accept_invite/rest.py @@ -34,7 +34,7 @@ def get_invited_user_by_token(token): max_age_seconds) except SignatureExpired: errors = {'invitation': - ['This invitation has expired please contact the person that invited you to invite you again']} + ['Your invitation to GOV.UK Notify has expired. Please ask the person that invited you to send you another one']} raise InvalidRequest(errors, status_code=400) invited_user = get_invited_user_by_id(invited_user_id)