mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 02:38:54 +08:00
Should be api_username
.
This commit is contained in:
parent
8b314304f2
commit
f5c8d05f1e
@ -49,7 +49,7 @@ class LogAnalyzer
|
||||
private
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user