Skip to content

Commit 172fe46

Browse files
Merge pull request #258 from krishnprakash/alert-autofix-3.1.1
Potential fix for code scanning alert no. 3: Clear-text logging of sensitive information
2 parents 0238975 + 43c06e2 commit 172fe46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

public/cloudflare-one/static/authenticated-doh.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ def request(method, url, body):
146146
if client_id == "new":
147147
service_token_name = input('Please input name for service token > ')
148148
client_id, client_secret = request_create_service_token(service_token_name)
149-
print(
150-
f"Created service token with client_id {client_id} and client_secret {client_secret}. You may want to save these secrets.")
149+
print("Created service token. Please save the client_id and client_secret securely.")
151150

152151

153152
if len(client_secret) == 0:

0 commit comments

Comments
 (0)