mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: app sharing (now open source!) (#4378)
This commit is contained in:
@ -118,19 +118,19 @@ func GenerateLicense(t *testing.T, options LicenseOptions) string {
|
||||
if options.GraceAt.IsZero() {
|
||||
options.GraceAt = time.Now().Add(time.Hour)
|
||||
}
|
||||
auditLog := int64(0)
|
||||
var auditLog int64
|
||||
if options.AuditLog {
|
||||
auditLog = 1
|
||||
}
|
||||
browserOnly := int64(0)
|
||||
var browserOnly int64
|
||||
if options.BrowserOnly {
|
||||
browserOnly = 1
|
||||
}
|
||||
scim := int64(0)
|
||||
var scim int64
|
||||
if options.SCIM {
|
||||
scim = 1
|
||||
}
|
||||
workspaceQuota := int64(0)
|
||||
var workspaceQuota int64
|
||||
if options.WorkspaceQuota {
|
||||
workspaceQuota = 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user