Skip to content

Commit

Permalink
Merge pull request #82 from chaoranxie/patch-2
Browse files Browse the repository at this point in the history
allow you to disable dashboard authentication
  • Loading branch information
jamtur01 committed Dec 1, 2013
2 parents 3b21d0a + 21be702 commit a978bf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/puppet/provider/sensu_dashboard_config/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def user

def user=(value)
conf['dashboard']['user'] = value
conf['dashboard'].delete('user') if ''==value
end

def password
Expand All @@ -64,5 +65,7 @@ def password

def password=(value)
conf['dashboard']['password'] = value
conf['dashboard'].delete('password') if ''==value

end
end

0 comments on commit a978bf1

Please sign in to comment.