From 6fa2c62cded60840b130dfcaa310130b1549ac91 Mon Sep 17 00:00:00 2001 From: KhashayarKhm Date: Tue, 29 Apr 2025 19:29:49 +0330 Subject: [PATCH] style(http,users): format totp.go and password.go files --- http/totp.go | 3 ++- users/password.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/http/totp.go b/http/totp.go index f803d0ad..9cc8f822 100644 --- a/http/totp.go +++ b/http/totp.go @@ -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 { diff --git a/users/password.go b/users/password.go index 24468bb6..ff567f45 100644 --- a/users/password.go +++ b/users/password.go @@ -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.