style(http,users): format totp.go and password.go files

pull/3885/head
KhashayarKhm 2025-04-29 19:29:49 +03:30
parent 0439b20740
commit 6fa2c62cde
2 changed files with 4 additions and 2 deletions

View File

@ -5,9 +5,10 @@ import (
"strings"
"time"
"github.com/filebrowser/filebrowser/v2/users"
"github.com/golang-jwt/jwt/v4"
"github.com/golang-jwt/jwt/v4/request"
"github.com/filebrowser/filebrowser/v2/users"
)
type totpUserInfo struct {

View File

@ -8,9 +8,10 @@ import (
"io"
"log"
fbErrors "github.com/filebrowser/filebrowser/v2/errors"
"github.com/pquerna/otp/totp"
"golang.org/x/crypto/bcrypt"
fbErrors "github.com/filebrowser/filebrowser/v2/errors"
)
// HashPwd hashes a password.