1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 13:25:26 +02:00

feat(global): add a --no-auth flag to disable authentication

This commit is contained in:
Anthony Lapenna 2017-02-01 22:10:07 +13:00
parent 779fcf8e7f
commit 0f81ad5654
16 changed files with 203 additions and 191 deletions

View file

@ -20,6 +20,7 @@ type (
Labels *[]Pair
Logo *string
Templates *string
NoAuth *bool
TLSVerify *bool
TLSCacert *string
TLSCert *string
@ -28,8 +29,9 @@ type (
// Settings represents Portainer settings.
Settings struct {
HiddenLabels []Pair `json:"hiddenLabels"`
Logo string `json:"logo"`
HiddenLabels []Pair `json:"hiddenLabels"`
Logo string `json:"logo"`
Authentication bool `json:"authentication"`
}
// User represent a user account.