Skip to content
Snippets Groups Projects
Commit 164a75f2 authored by Balasankar C's avatar Balasankar C
Browse files

Merge branch 'fix-5105' into 'master'

Allows special characters in Grafana admin password

See merge request gitlab-org/omnibus-gitlab!4606
parents 78e38d9b 3d41c2aa
No related branches found
No related tags found
No related merge requests found
---
title: Allows special characters in Grafana admin password
merge_request: 4606
author:
type: fixed
Loading
Loading
@@ -35,7 +35,7 @@ add_command 'set-grafana-password', 'Reset admin password for Grafana', 2 do |cm
log "Stopping Grafana for password update"
run_sv_command_for_service('stop', 'grafana')
 
status = GitlabCtl::Util.run_command("/opt/gitlab/embedded/bin/grafana-cli --homepath #{home_dir} admin reset-admin-password #{password}")
status = GitlabCtl::Util.run_command("/opt/gitlab/embedded/bin/grafana-cli --homepath #{home_dir} admin reset-admin-password '#{password}'")
 
log "Restarting Grafana."
run_sv_command_for_service('start', 'grafana')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment