[fix bug 849716] [invite] A person can be sent multiple invites by refreshing the page