-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into issues/131-merge-upstram
- Loading branch information
Showing
34 changed files
with
1,891 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,21 +19,23 @@ | |
|
||
import io.getlime.core.rest.model.base.response.ErrorResponse; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.EqualsAndHashCode; | ||
|
||
/** | ||
* Response class used when OTP code verification fails during activation (soft fail). | ||
* | ||
* @author Roman Strobl, [email protected] | ||
*/ | ||
@EqualsAndHashCode(callSuper = true) | ||
public class ActivationOtpErrorResponse extends ErrorResponse { | ||
|
||
private Integer remainingAttempts; | ||
private final Integer remainingAttempts; | ||
|
||
/** | ||
* Default constructor. | ||
*/ | ||
public ActivationOtpErrorResponse() { | ||
super(); | ||
remainingAttempts = null; | ||
} | ||
|
||
/** | ||
|
@@ -55,12 +57,4 @@ public Integer getRemainingAttempts() { | |
return remainingAttempts; | ||
} | ||
|
||
/** | ||
* Set remaining attempts for OTP verification during activation. | ||
* @param remainingAttempts Remaining attempts for OTP verification during activation. | ||
*/ | ||
public void setRemainingAttempts(Integer remainingAttempts) { | ||
this.remainingAttempts = remainingAttempts; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.