Skip to content

Commit 36d123c

Browse files
Potential fix for code scanning alert no. 3: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent f859159 commit 36d123c

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)