Skip to content

Commit

Permalink
Merge pull request #324 from wultra/develop
Browse files Browse the repository at this point in the history
Update release 0.22.0
  • Loading branch information
romanstrobl authored May 28, 2019
2 parents 9a578a0 + 3280699 commit 11921bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public class RecoveryConfigEntity implements Serializable {
@Column(name = "id")
private Long id;

@Column(name = "activation_recovery_enabled")
@Column(name = "activation_recovery_enabled", nullable = false)
private Boolean activationRecoveryEnabled;

@Column(name = "recovery_postcard_enabled")
@Column(name = "recovery_postcard_enabled", nullable = false)
private Boolean recoveryPostcardEnabled;

@Column(name = "allow_multiple_recovery_codes")
@Column(name = "allow_multiple_recovery_codes", nullable = false)
private Boolean allowMultipleRecoveryCodes;

@Column(name = "postcard_private_key_base64")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ public GetRecoveryConfigResponse getRecoveryConfig(GetRecoveryConfigRequest requ
recoveryConfigEntity.setApplication(applicationOptional.get());
recoveryConfigEntity.setActivationRecoveryEnabled(false);
recoveryConfigEntity.setRecoveryPostcardEnabled(false);
recoveryConfigEntity.setAllowMultipleRecoveryCodes(false);
recoveryConfigRepository.save(recoveryConfigEntity);
}
GetRecoveryConfigResponse response = new GetRecoveryConfigResponse();
Expand Down

0 comments on commit 11921bc

Please sign in to comment.