diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2021-09-17 19:53:59 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-17 19:53:59 +1000 |
| commit | aed9099ce2fa704c19ac351da32f31e87c54a1b5 (patch) | |
| tree | 2e0ddf81f4c8e0cbce2a6494b625fb41cbdf31e9 /internal/authentication/file_user_provider.go | |
| parent | 8e4dc91b815f5de9173e3e50c6d36454d41156a2 (diff) | |
refactor: factorize startup checks (#2386)
* refactor: factorize startup checks
* refactor: address linting issues
Diffstat (limited to 'internal/authentication/file_user_provider.go')
| -rw-r--r-- | internal/authentication/file_user_provider.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/authentication/file_user_provider.go b/internal/authentication/file_user_provider.go index 74cf4ff86..9947c4f75 100644 --- a/internal/authentication/file_user_provider.go +++ b/internal/authentication/file_user_provider.go @@ -9,6 +9,7 @@ import ( "sync" "github.com/asaskevich/govalidator" + "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" "github.com/authelia/authelia/v4/internal/configuration/schema" @@ -205,3 +206,8 @@ func (p *FileUserProvider) UpdatePassword(username string, newPassword string) e return err } + +// StartupCheck implements the startup check provider interface. +func (p *FileUserProvider) StartupCheck(_ *logrus.Logger) (err error) { + return nil +} |
