summaryrefslogtreecommitdiff
path: root/internal/configuration/validator/authentication.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/configuration/validator/authentication.go')
-rw-r--r--internal/configuration/validator/authentication.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/configuration/validator/authentication.go b/internal/configuration/validator/authentication.go
index 3c5584c80..6ac166ea5 100644
--- a/internal/configuration/validator/authentication.go
+++ b/internal/configuration/validator/authentication.go
@@ -10,7 +10,7 @@ import (
"github.com/authelia/authelia/internal/utils"
)
-//nolint:gocyclo // TODO: Consider refactoring/simplifying, time permitting
+//nolint:gocyclo // TODO: Consider refactoring/simplifying, time permitting.
func validateFileAuthenticationBackend(configuration *schema.FileAuthenticationBackendConfiguration, validator *schema.StructValidator) {
if configuration.Path == "" {
validator.Push(errors.New("Please provide a `path` for the users database in `authentication_backend`"))
@@ -98,7 +98,7 @@ func validateLdapURL(ldapURL string, validator *schema.StructValidator) string {
return u.String()
}
-//nolint:gocyclo // TODO: Consider refactoring/simplifying, time permitting
+//nolint:gocyclo // TODO: Consider refactoring/simplifying, time permitting.
func validateLdapAuthenticationBackend(configuration *schema.LDAPAuthenticationBackendConfiguration, validator *schema.StructValidator) {
if configuration.URL == "" {
validator.Push(errors.New("Please provide a URL to the LDAP server"))