Skip to content

Commit e195b82

Browse files
Potential fix for code scanning alert no. 27: 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 c1bd1a1 commit e195b82

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}. Please save the client_secret securely and do not share it.")
149+
print("Created service token. Please save the client_secret securely and do not share it.")
151150

152151

153152
if len(client_secret) == 0:

0 commit comments

Comments
 (0)