Skip to content

Commit

Permalink
set default value in jwt-config
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed Apr 20, 2024
1 parent f99687c commit 1a64024
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions datasafe-rest-impl/src/main/resources/jwt-config.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jwt_secret=${JWT_SECRET}
default_user=${DEFAULT_USER}
default_password=${DEFAULT_PASSWORD}
jwt_secret=${JWT_SECRET:n2r5u8x/A%D*G-KaPdSgVkYp3s6v9y$B&E(H+MbQeThWmZq4t7w!z%C*F-J@NcRf}
default_user=${DEFAULT_USER:username}
default_password=${DEFAULT_PASSWORD:password}
#10 Days in ms
token_expiration=${TOKEN_EXPIRATION:864000000}
4 changes: 0 additions & 4 deletions datasafe-rest-impl/src/test/resources/jwt-config.properties

This file was deleted.

4 changes: 2 additions & 2 deletions frontend/datasafe-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "datasafe-ui with web and electron interface",
"keywords": [
"angular",
"angular 15",
"angular 17",
"electron",
"typescript",
"sass"
Expand Down Expand Up @@ -53,7 +53,7 @@
"codelyzer": "6.0.2",
"core-js": "3.33.0",
"electron": "^26.6.9",
"electron-builder": "24.7.0",
"electron-builder": "24.13.3",
"electron-reload": "1.5.0",
"hammerjs": "2.0.8",
"jasmine-core": "5.1.1",
Expand Down

0 comments on commit 1a64024

Please sign in to comment.