1
0

add: Require Approval for Signup

This commit is contained in:
Mar0xy
2023-10-18 02:41:36 +02:00
parent 5c7f517895
commit 2f2d88dcfc
24 changed files with 330 additions and 29 deletions
+6
View File
@@ -48,6 +48,7 @@ export const permissions = [
export const moderationLogTypes = [
'updateServerSettings',
'suspend',
'approve',
'unsuspend',
'updateUserNote',
'addCustomEmoji',
@@ -87,6 +88,11 @@ export type ModerationLogPayloads = {
userUsername: string;
userHost: string | null;
};
approve: {
userId: string;
userUsername: string;
userHost: string | null;
};
unsuspend: {
userId: string;
userUsername: string;