mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
Merge pull request #992 from GSA/notify-admin-1396
Exception Investigation: app.notify_client:InviteTokenError
This commit is contained in:
@@ -165,7 +165,7 @@ def validate_invitation_token(token):
|
||||
)
|
||||
except SignatureExpired:
|
||||
errors = {
|
||||
"invitation": "Your invitation to GOV.UK Notify has expired. "
|
||||
"invitation": "Your invitation to Notify.gov has expired. "
|
||||
"Please ask the person that invited you to send you another one"
|
||||
}
|
||||
raise InvalidRequest(errors, status_code=400)
|
||||
|
||||
@@ -201,7 +201,7 @@ def validate_service_invitation_token(token):
|
||||
)
|
||||
except SignatureExpired:
|
||||
errors = {
|
||||
"invitation": "Your invitation to GOV.UK Notify has expired. "
|
||||
"invitation": "Your invitation to Notify.gov has expired. "
|
||||
"Please ask the person that invited you to send you another one"
|
||||
}
|
||||
raise InvalidRequest(errors, status_code=400)
|
||||
|
||||
Reference in New Issue
Block a user