diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/server-hook.model.ts | 5 |
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 | ||
35 | export type ServerFilterHookName = keyof typeof serverFilterHookObject | 38 | export type ServerFilterHookName = keyof typeof serverFilterHookObject |