refactor: cleanup package names (#5605)

This commit is contained in:
Henrique Dias
2025-12-06 10:52:11 +01:00
committed by GitHub
parent a6934e40ff
commit f029c3005e
33 changed files with 78 additions and 78 deletions

View File

@@ -4,7 +4,7 @@ import (
"github.com/asdine/storm/v3"
"github.com/filebrowser/filebrowser/v2/auth"
"github.com/filebrowser/filebrowser/v2/errors"
fberrors "github.com/filebrowser/filebrowser/v2/errors"
"github.com/filebrowser/filebrowser/v2/settings"
)
@@ -25,7 +25,7 @@ func (s authBackend) Get(t settings.AuthMethod) (auth.Auther, error) {
case auth.MethodNoAuth:
auther = &auth.NoAuth{}
default:
return nil, errors.ErrInvalidAuthMethod
return nil, fberrors.ErrInvalidAuthMethod
}
return auther, get(s.db, "auther", auther)