Skip to content

Commit

Permalink
Merge branch 'cortesi/modattrs'
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondl committed Dec 20, 2016
2 parents ae2c358 + 23c0463 commit d07283b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions authboss.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Authboss struct {
Callbacks *Callbacks

loadedModules map[string]Modularizer
moduleAttributes AttributeMeta
ModuleAttributes AttributeMeta
mux *http.ServeMux
}

Expand All @@ -33,7 +33,7 @@ func New() *Authboss {
ab := &Authboss{
Callbacks: NewCallbacks(),
loadedModules: make(map[string]Modularizer),
moduleAttributes: make(AttributeMeta),
ModuleAttributes: make(AttributeMeta),
}
ab.Config.Defaults()
return ab
Expand All @@ -55,7 +55,7 @@ func (a *Authboss) Init(modulesToLoad ...string) error {

for _, mod := range a.loadedModules {
for k, v := range mod.Storage() {
a.moduleAttributes[k] = v
a.ModuleAttributes[k] = v
}
}

Expand Down

0 comments on commit d07283b

Please sign in to comment.