mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: remove audit-logging flag from the server (#6991)
Co-authored-by: Colin Adler <colin1adler@gmail.com>
This commit is contained in:
co-authored by
Colin Adler
parent
29e9b9e663
commit
385a4262e2
@@ -49,18 +49,15 @@ func (r *RootCmd) server() *clibase.Cmd {
|
||||
}
|
||||
}
|
||||
options.DERPServer.SetMeshKey(meshKey)
|
||||
|
||||
if options.DeploymentValues.AuditLogging.Value() {
|
||||
options.Auditor = audit.NewAuditor(audit.DefaultFilter,
|
||||
backends.NewPostgres(options.Database, true),
|
||||
backends.NewSlog(options.Logger),
|
||||
)
|
||||
}
|
||||
options.Auditor = audit.NewAuditor(audit.DefaultFilter,
|
||||
backends.NewPostgres(options.Database, true),
|
||||
backends.NewSlog(options.Logger),
|
||||
)
|
||||
|
||||
options.TrialGenerator = trialer.New(options.Database, "https://v2-licensor.coder.com/trial", coderd.Keys)
|
||||
|
||||
o := &coderd.Options{
|
||||
AuditLogging: options.DeploymentValues.AuditLogging.Value(),
|
||||
AuditLogging: true,
|
||||
BrowserOnly: options.DeploymentValues.BrowserOnly.Value(),
|
||||
SCIMAPIKey: []byte(options.DeploymentValues.SCIMAPIKey.Value()),
|
||||
RBAC: true,
|
||||
|
||||
Reference in New Issue
Block a user