Merge pull request #992 from GSA/notify-admin-1396

Exception Investigation: app.notify_client:InviteTokenError
This commit is contained in:
Carlo Costino
2024-05-31 11:35:20 -04:00
committed by GitHub
5 changed files with 159 additions and 167 deletions

View File

@@ -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)

View File

@@ -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)