Set staff attribute when accepting teacher invitation