Philip H.
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/lib/Server.js
|
|
|
@ -166,7 +166,7 @@ module.exports = class Server { |
|
|
|
const { address } = req.body; |
|
|
|
return WireGuard.updateClientAddress({ clientId, address }); |
|
|
|
})) |
|
|
|
.put('/api/wireguard/client/:clientId/address6', Util.promisify(async (req) => { |
|
|
|
.put('/api/wireguard/client/:clientId/address6', Util.promisify(async (req, res) => { |
|
|
|
const { clientId } = req.params; |
|
|
|
if (clientId === '__proto__' || clientId === 'constructor' || clientId === 'prototype') { |
|
|
|
res.end(403); |
|
|
|
|