Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/main/java/io/fusionauth/domain/Application.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2025, FusionAuth, All Rights Reserved
* Copyright (c) 2019-2026, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -579,6 +579,8 @@ public String toString() {
public static class RegistrationConfiguration extends Enableable implements Buildable<RegistrationConfiguration> {
public Requirable birthDate = new Requirable();

public boolean completeRegistration;

public boolean confirmPassword;

public Requirable firstName = new Requirable();
Expand All @@ -605,6 +607,7 @@ public RegistrationConfiguration() {

public RegistrationConfiguration(RegistrationConfiguration other) {
this.birthDate = new Requirable(other.birthDate);
this.completeRegistration = other.completeRegistration;
this.confirmPassword = other.confirmPassword;
this.enabled = other.enabled;
this.firstName = new Requirable(other.firstName);
Expand All @@ -630,7 +633,8 @@ public boolean equals(Object o) {
return false;
}
RegistrationConfiguration that = (RegistrationConfiguration) o;
return confirmPassword == that.confirmPassword &&
return completeRegistration == that.completeRegistration &&
confirmPassword == that.confirmPassword &&
Objects.equals(birthDate, that.birthDate) &&
Objects.equals(firstName, that.firstName) &&
Objects.equals(formId, that.formId) &&
Expand All @@ -645,7 +649,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(super.hashCode(), birthDate, confirmPassword, firstName, formId, fullName, lastName, loginIdType, middleName, mobilePhone, preferredLanguages, type);
return Objects.hash(super.hashCode(), birthDate, completeRegistration, confirmPassword, firstName, formId, fullName, lastName, loginIdType, middleName, mobilePhone, preferredLanguages, type);
}

public String toString() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025, FusionAuth, All Rights Reserved
* Copyright (c) 2025-2026, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,16 +23,20 @@
* @author Lyle Schemmerling
*/
public class UniversalApplicationConfiguration {
public boolean allowTenantManagerIdentityProviders;

public boolean universal;

@JacksonConstructor
public UniversalApplicationConfiguration() {}
public UniversalApplicationConfiguration() {
}

public UniversalApplicationConfiguration(boolean universal) {
this.universal = universal;
}

public UniversalApplicationConfiguration(UniversalApplicationConfiguration other) {
this.allowTenantManagerIdentityProviders = other.allowTenantManagerIdentityProviders;
this.universal = other.universal;
}

Expand All @@ -42,11 +46,12 @@ public boolean equals(Object o) {
return false;
}
UniversalApplicationConfiguration that = (UniversalApplicationConfiguration) o;
return universal == that.universal;
return allowTenantManagerIdentityProviders == that.allowTenantManagerIdentityProviders &&
universal == that.universal;
}

@Override
public int hashCode() {
return Objects.hashCode(universal);
return Objects.hash(allowTenantManagerIdentityProviders, universal);
}
}