mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-18 23:50:41 +01:00
Revert "Allow use of the token returned with spam challenges as auth for the challenge verification request"
This commit is contained in:
committed by
GitHub
parent
9aaac0eefd
commit
5847300290
@@ -23,7 +23,6 @@ import org.whispersystems.textsecuregcm.configuration.AwsAttachmentsConfiguratio
|
||||
import org.whispersystems.textsecuregcm.configuration.BadgesConfiguration;
|
||||
import org.whispersystems.textsecuregcm.configuration.BraintreeConfiguration;
|
||||
import org.whispersystems.textsecuregcm.configuration.CdnConfiguration;
|
||||
import org.whispersystems.textsecuregcm.configuration.ChallengeConfiguration;
|
||||
import org.whispersystems.textsecuregcm.configuration.DatadogConfiguration;
|
||||
import org.whispersystems.textsecuregcm.configuration.DirectoryV2Configuration;
|
||||
import org.whispersystems.textsecuregcm.configuration.DynamoDbClientConfiguration;
|
||||
@@ -187,11 +186,6 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
@JsonProperty
|
||||
private UnidentifiedDeliveryConfiguration unidentifiedDelivery;
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty
|
||||
private ChallengeConfiguration challenge;
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty
|
||||
@@ -301,10 +295,6 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
return dynamoDbTables;
|
||||
}
|
||||
|
||||
public ChallengeConfiguration getChallengeConfiguration() {
|
||||
return challenge;
|
||||
}
|
||||
|
||||
public RecaptchaConfiguration getRecaptchaConfiguration() {
|
||||
return recaptcha;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user