We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092594b commit 9ad3129Copy full SHA for 9ad3129
src/main/typescript/api/controllers/VerificationController.ts
@@ -108,11 +108,11 @@ class VerificationController extends Controller {
108
return this.response(400, { error: "Missing IP address." });
109
}
110
111
- // if (await this.verificationService.isProxy(ip)) {
112
- // return this.response(400, {
113
- // error: "You seem to be using a VPN or proxy. Please disable it, reload this page and try again."
114
- // });
115
- // }
+ if (await this.verificationService.isProxy(ip)) {
+ return this.response(400, {
+ error: "You seem to be using a VPN or proxy. Please disable it, reload this page and try again."
+ });
+ }
116
117
const result = await this.verificationService.connectDiscord(
118
guildId,
0 commit comments