mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Should be api_username
.
This commit is contained in:
parent
8b314304f2
commit
f5c8d05f1e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class LogAnalyzer
|
||||||
private
|
private
|
||||||
|
|
||||||
def self.sanitize_url(url)
|
def self.sanitize_url(url)
|
||||||
url.gsub(/(api_key|api_user)=(\w+)/, '\1=[FILTERED]')
|
url.gsub(/(api_key|api_username)=(\w+)/, '\1=[FILTERED]')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue