DEV: Allow default user invite model to be modified by plugins (PR #9518)

GitHub