refactor(user): clean up comments and rename variables
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Successful in 25s
CI / test-build (pull_request) Successful in 31s
CI / prettier (pull_request) Successful in 56s
CI / Checkstyle Main (pull_request) Successful in 2m12s

This commit is contained in:
Jan K9f 2025-04-03 11:51:55 +02:00
parent 25c68e230d
commit 02453449cd
Signed by: jank
GPG key ID: 22BEAC760B3333D6
5 changed files with 4 additions and 41 deletions

View file

@ -19,7 +19,7 @@ public class UserEntity {
@GeneratedValue
private Long id;
@Column(unique = true)
private String authentikId; // Changed from keycloakId to authentikId
private String authentikId;
private String username;
@Column(precision = 19, scale = 2)

View file

@ -10,8 +10,6 @@ import lombok.Setter;
@AllArgsConstructor
@NoArgsConstructor
public class KeycloakUserDto {
// Renamed class but kept for backward compatibility
// This now contains Authentik user info
private String sub;
private String preferred_username;
}