mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 21:28:02 +01:00
Require a push challenge when registering (or else require a captcha).
This commit is contained in:
committed by
Jon Chambers
parent
35fc98a188
commit
408b959441
@@ -561,6 +561,8 @@ public class AccountController {
|
||||
if (!pushChallenge.get().equals(storedPushChallenge.orElse(null))) {
|
||||
return new CaptchaRequirement(true, false);
|
||||
}
|
||||
} else {
|
||||
return new CaptchaRequirement(true, false);
|
||||
}
|
||||
|
||||
List<AbusiveHostRule> abuseRules = abusiveHostRules.getAbusiveHostRulesFor(requester);
|
||||
|
||||
Reference in New Issue
Block a user