Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 21fe4b3

Browse files
committed
Removed Leaking of passwords.
1 parent 839e70f commit 21fe4b3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/java/de/filefighter/rest/domain/user/data/dto/UserRegisterForm.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,23 @@
33
import lombok.Builder;
44
import lombok.Data;
55

6+
import java.util.Arrays;
7+
68
@Data
79
@Builder
810
public class UserRegisterForm {
911
private String username;
1012
private String password;
1113
private String confirmationPassword;
1214
private long[] groupIds;
15+
16+
@Override
17+
public String toString() {
18+
return "UserRegisterForm{" +
19+
"username='" + username + '\'' +
20+
", password='" + "****" + '\'' +
21+
", confirmationPassword='" + "****" + '\'' +
22+
", groupIds=" + Arrays.toString(groupIds) +
23+
'}';
24+
}
1325
}

0 commit comments

Comments
 (0)