diff options
Diffstat (limited to 'utils/password.go')
-rw-r--r-- | utils/password.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/password.go b/utils/password.go index 6aa785df8..7c2ca538b 100644 --- a/utils/password.go +++ b/utils/password.go @@ -15,7 +15,7 @@ func IsPasswordValid(password string) *model.AppError { isError := false min := model.PASSWORD_MINIMUM_LENGTH - if IsLicensed && *License.Features.PasswordRequirements { + if IsLicensed() && *License().Features.PasswordRequirements { if len(password) < *Cfg.PasswordSettings.MinimumLength || len(password) > model.PASSWORD_MAXIMUM_LENGTH { isError = true } |