aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server-hook.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/server-hook.model.ts')
-rw-r--r--shared/models/plugins/server-hook.model.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts
index 32c7f4688..41ee28097 100644
--- a/shared/models/plugins/server-hook.model.ts
+++ b/shared/models/plugins/server-hook.model.ts
@@ -29,7 +29,10 @@ export const serverFilterHookObject = {
29 29
30 // Filter result used to check if we need to auto blacklist a video 30 // Filter result used to check if we need to auto blacklist a video
31 // (fired when a local or remote video is created or updated) 31 // (fired when a local or remote video is created or updated)
32 'filter:video.auto-blacklist.result': true 32 'filter:video.auto-blacklist.result': true,
33
34 // Filter result used to check if a user can register on the instance
35 'filter:api.user.signup.allowed.result': true
33} 36}
34 37
35export type ServerFilterHookName = keyof typeof serverFilterHookObject 38export type ServerFilterHookName = keyof typeof serverFilterHookObject