Merge pull request #608 from dmcgowan/http-basic-auth
Implementation of a basic authentication scheme using standard .htpasswd
This commit is contained in:
commit
fa67bab1c7
5 changed files with 389 additions and 0 deletions
|
@ -148,6 +148,7 @@ func NewApp(ctx context.Context, configuration configuration.Configuration) *App
|
|||
panic(fmt.Sprintf("unable to configure authorization (%s): %v", authType, err))
|
||||
}
|
||||
app.accessController = accessController
|
||||
ctxu.GetLogger(app).Debugf("configured %q access controller", authType)
|
||||
}
|
||||
|
||||
return app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue