Skip to content

Commit cb4ba41

Browse files
Merge pull request #34 from BUMETCS673/fixCredentialExposure
Fix Credential Exposure
2 parents f95b491 + 827d149 commit cb4ba41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/backend/src/test/resources/application.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Database Configuration
22
# =====================
33

4-
spring.datasource.url=jdbc:mysql://127.0.0.1:13306/careerforge?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
4+
spring.datasource.url=${JDBC_URL}
55
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
6-
spring.datasource.username=careerforge_dev
7-
spring.datasource.password=CareerForge!2345
6+
spring.datasource.username=${DB_USERNAME}
7+
spring.datasource.password=${DB_PASSWORD}
88
# JPA/Hibernate Configuration
99
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
1010
spring.jpa.hibernate.ddl-auto=validate

0 commit comments

Comments
 (0)