refactor: cleanup package names (#5605)

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

No files matched your search

+2 -2
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)