diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/config.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 06ee1ee85..ae4e00248 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -50,7 +50,9 @@ let serverCommit: string | |||
50 | async function getConfig (req: express.Request, res: express.Response) { | 50 | async function getConfig (req: express.Request, res: express.Response) { |
51 | const { allowed } = await Hooks.wrapPromiseFun( | 51 | const { allowed } = await Hooks.wrapPromiseFun( |
52 | isSignupAllowed, | 52 | isSignupAllowed, |
53 | {}, | 53 | { |
54 | ip: req.ip | ||
55 | }, | ||
54 | 'filter:api.user.signup.allowed.result' | 56 | 'filter:api.user.signup.allowed.result' |
55 | ) | 57 | ) |
56 | 58 | ||