Skip to content

Commit 3feb69f

Browse files
fix: re-enable proxy checking [2/2]
Signed-off-by: Ar Rakin <[email protected]>
1 parent 9ad3129 commit 3feb69f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/typescript/automod/VerificationService.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -569,12 +569,12 @@ class VerificationService extends Service {
569569
let incomplete = false;
570570

571571
verify: {
572-
// if (proxyCheck) {
573-
// error =
574-
// "You seem to be using a VPN or proxy. Please disable it, reload this page and try again.";
575-
// reason = "VPN or Proxy detected.";
576-
// break verify;
577-
// }
572+
if (proxyCheck) {
573+
error =
574+
"You seem to be using a VPN or proxy. Please disable it, reload this page and try again.";
575+
reason = "VPN or Proxy detected.";
576+
break verify;
577+
}
578578

579579
const entry = await this.application.database.query.verificationEntries.findFirst({
580580
where(fields, operators) {

0 commit comments

Comments
 (0)