mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
Tweaked the wording of the expired invitation message.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user