Skip to content

Commit

Permalink
Remove password commited
Browse files Browse the repository at this point in the history
  • Loading branch information
Borelli-7 committed Feb 12, 2024
1 parent 95c293c commit cd99d65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions datasafe-rest-impl/src/test/resources/jwt-config.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
debug=false
management.endpoints.web.exposure.include=*

jwt_secret=n2r5u8x/A%D*G-KaPdSgVkYp3s6v9y$B&E(H+MbQeThWmZq4t7w!z%C*F-J@NcRf
default_user=username
default_password=password
token_expiration=864000000
jwt_secret=${JWT_SECRET}
default_user=${DEFAULT_USER}
default_password=${DEFAULT_PASSWORD}
#10 Days in ms
token_expiration=${TOKEN_EXPIRATION:864000000}
6 changes: 3 additions & 3 deletions frontend/datasafe-ui/src/env.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(function (window) {
window.__env = window.__env || {};

window.__env.apiUrl = 'http://localhost:8080';
window.__env.apiUrl = '${API_URL}';
// ideally these are not necessary, but API is protected, so supplying it for docker-local deployment
window.__env.apiUsername = 'username';
window.__env.apiPassword = 'password';
window.__env.apiUsername = '${API_USERNAME}';
window.__env.apiPassword = '${API_PASSWORD}';

}(this));

0 comments on commit cd99d65

Please sign in to comment.