feat: allow admins to require invites before user accounts can be created (#3381)
* allow admins to require invites before user accounts can be created * use new dialog component for general confirmation dialogs
This commit is contained in:
@@ -71,6 +71,14 @@ export default function Notices() {
|
||||
admin.
|
||||
</NoticeAlert>
|
||||
)}
|
||||
{notice === "invite-required" && (
|
||||
<NoticeAlert>
|
||||
The team you are trying to join requires an invite before you can
|
||||
create an account.
|
||||
<hr />
|
||||
Please request an invite from your team admin and try again.
|
||||
</NoticeAlert>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user