diff options
Diffstat (limited to 'app/license.go')
-rw-r--r-- | app/license.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/license.go b/app/license.go index 6b448b19d..c41c17fd8 100644 --- a/app/license.go +++ b/app/license.go @@ -100,6 +100,9 @@ func SaveLicense(licenseBytes []byte) (*model.License, *model.AppError) { return nil, model.NewLocAppError("addLicense", model.INVALID_LICENSE_ERROR, nil, "") } + ReloadConfig() + InvalidateAllCaches() + return license, nil } |