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:
@@ -20,6 +20,7 @@ router.post("team.update", auth(), async (ctx) => {
|
||||
collaborativeEditing,
|
||||
defaultCollectionId,
|
||||
defaultUserRole,
|
||||
inviteRequired,
|
||||
} = ctx.body;
|
||||
|
||||
const { user } = ctx.state;
|
||||
@@ -42,6 +43,7 @@ router.post("team.update", auth(), async (ctx) => {
|
||||
collaborativeEditing,
|
||||
defaultCollectionId,
|
||||
defaultUserRole,
|
||||
inviteRequired,
|
||||
},
|
||||
user,
|
||||
team,
|
||||
|
||||
Reference in New Issue
Block a user