task#5545 check an invitation is valid or not before save
Merge pull request #102 from cuongnv540/task#5545

task#5545 check an invitation is valid or not before save