summaryrefslogtreecommitdiffstats
path: root/app/license.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/license.go')
-rw-r--r--app/license.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/license.go b/app/license.go
index cacc71524..c7fd07197 100644
--- a/app/license.go
+++ b/app/license.go
@@ -23,7 +23,7 @@ func (a *App) LoadLicense() {
if len(licenseId) != 26 {
// Lets attempt to load the file from disk since it was missing from the DB
- license, licenseBytes := utils.GetAndValidateLicenseFileFromDisk()
+ license, licenseBytes := utils.GetAndValidateLicenseFileFromDisk(*a.Config().ServiceSettings.LicenseFileLocation)
if license != nil {
if _, err := a.SaveLicense(licenseBytes); err != nil {