fix registration hook

This commit is contained in:
Quan HL
2023-06-15 06:21:53 +07:00
parent 54ccaa52bb
commit ddb7e869eb
+4 -1
View File
@@ -189,7 +189,10 @@ const digestChallenge = async(req, res, next) => {
const {stats} = req.srf.locals;
const {
account_sid,
registration_hook,
registration_hook_url,
registration_hook_method,
registration_hook_username,
registration_hook_password,
webhook_secret
} = req.locals;
// Cannot detect account, reject register request