diff options
author | Ryan Cobb <rcobb@gitlab.com> | 2019-10-07 15:07:18 -0700 |
---|---|---|
committer | Ryan Cobb <rcobb@gitlab.com> | 2019-10-24 11:06:40 -0700 |
commit | 5c072495284de9aae26b1efcefcefc1d8571065a (patch) | |
tree | 2f3a3d346cd352ee2df801371e8d1c5b11c1d1bc /app/views/projects | |
parent | 1425a56c75beecaa289ad59587d636f8f469509e (diff) | |
download | gitlab-ce-5c072495284de9aae26b1efcefcefc1d8571065a.tar.gz |
Mask Sentry auth token
This makes it so we mask Sentry's auth token. This mask only occurs in
the UI.
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/settings/operations/_error_tracking.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/operations/_error_tracking.html.haml b/app/views/projects/settings/operations/_error_tracking.html.haml index 583fc08f375..589d3037eba 100644 --- a/app/views/projects/settings/operations/_error_tracking.html.haml +++ b/app/views/projects/settings/operations/_error_tracking.html.haml @@ -17,4 +17,4 @@ project: error_tracking_setting_project_json, api_host: setting.api_host, enabled: setting.enabled.to_json, - token: setting.token } } + token: setting.token.present? ? '*' * 12 : nil } } |