How to limit invites to admins

Setting max_invites_per_day to 0 will disable invites for all users except staff (admins and moderators). I remember making staff immune to max_invites_per_day setting via:

https://github.com/discourse/discourse/commit/4d593d1c186326ed6c4733a3bbe7cf1de04f62fd

6 Likes