mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Add cancelled-invite html.
If a invited user accepts a cancelled invitation they are directed to a page telling them the invitation is cancelled. Without this they were able to register and were added to the service.
This commit is contained in:
@@ -48,12 +48,12 @@ def api_key_json(id_, name, expiry_date=None):
|
||||
}
|
||||
|
||||
|
||||
def invite_json(id, from_user, service_id, email_address, permissions, created_at):
|
||||
def invite_json(id, from_user, service_id, email_address, permissions, created_at, status):
|
||||
return {'id': id,
|
||||
'from_user': from_user,
|
||||
'service': service_id,
|
||||
'email_address': email_address,
|
||||
'status': 'pending',
|
||||
'status': status,
|
||||
'permissions': permissions,
|
||||
'created_at': created_at
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user