Skip to content

Commit 1c4e0ac

Browse files
Merge pull request #67 from krishnprakash/alert-autofix-3
Potential fix for code scanning alert no. 3: Clear-text logging of sensitive information
2 parents f859159 + 36d123c commit 1c4e0ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ def request(method, url, body):
155155
if client_id == "new":
156156
service_token_name = input('Please input name for service token > ')
157157
client_id, client_secret = request_create_service_token(service_token_name)
158-
print(
159-
f"Created service token with client_id {client_id} and client_secret {client_secret}. You may want to save these secrets.")
158+
print("Created service token. Please save the client_id and client_secret securely.")
160159

161160

162161
if len(client_secret) == 0:

0 commit comments

Comments
 (0)