diff --git a/api/docker-compose.prod.yaml b/api/docker-compose.prod.yaml index 2c2189c..a5e4db6 100644 --- a/api/docker-compose.prod.yaml +++ b/api/docker-compose.prod.yaml @@ -8,7 +8,7 @@ services: restart: always environment: ConnectionStrings__DefaultConnection: Host=agologum-db;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD} - Jwt__Key: ${JWT_SECRET} + Jwt__Key: ${JWT_SECRET} # must export the secret as a variable in the ci script ports: - "5000:5000" networks: diff --git a/api/src/Models/Dto.cs b/api/src/Models/Dto.cs index ea508f6..7403c6f 100644 --- a/api/src/Models/Dto.cs +++ b/api/src/Models/Dto.cs @@ -1,7 +1,7 @@ public class RegisterDto { - public string Username { get; set; } = ""; + public string Name { get; set; } = ""; public string Email { get; set; } = ""; public string Password { get; set; } = ""; @@ -9,7 +9,7 @@ public class RegisterDto { public class LoginDto { - public string Username { get; set; } = ""; + public string Name { get; set; } = ""; public string Password { get; set; } = ""; }