Skip to content

Commit

Permalink
1639 - sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladysl committed Mar 1, 2024
1 parent 0be7f6d commit b4fd7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@Component
public class S2sTokenProvider {
@Value("${auth.s2s.token:}")
@Value("${auth.s2s.token:#{null}}")
private String s2sToken;
@Value("${auth.s2s.enabled:false}")
private boolean s2sEnabled;
Expand Down
2 changes: 1 addition & 1 deletion odd-platform-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ auth:
# Server-To-Server token. Header 'X-API-Key: token'
s2s:
enabled: false
token:
# token:

# For dev purposes only -- successful auth redirect URI
login-form-redirect:
Expand Down

0 comments on commit b4fd7dd

Please sign in to comment.