Skip to content

Commit f9ae568

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 cdd2088 commit f9ae568

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
@@ -145,8 +145,7 @@ def request(method, url, body):
145145
if client_id == "new":
146146
service_token_name = input('Please input name for service token > ')
147147
client_id, client_secret = request_create_service_token(service_token_name)
148-
print(
149-
f"Created service token with client_id {client_id} and client_secret {client_secret}. You may want to save these secrets.")
148+
print("Created service token. You may want to save the client_id and client_secret securely.")
150149

151150

152151
if len(client_secret) == 0:

0 commit comments

Comments
 (0)