style: Module name

This commit is contained in:
lejianwen
2025-02-12 19:46:39 +08:00
parent 624dcacac5
commit 18eff791b2
79 changed files with 262 additions and 263 deletions
+4 -4
View File
@@ -2,9 +2,9 @@ package service
import (
"errors"
"github.com/lejianwen/rustdesk-api/global"
"github.com/lejianwen/rustdesk-api/model"
"github.com/lejianwen/rustdesk-api/utils"
"github.com/lejianwen/rustdesk-api/v2/global"
"github.com/lejianwen/rustdesk-api/v2/model"
"github.com/lejianwen/rustdesk-api/v2/utils"
"math/rand"
"strconv"
"strings"
@@ -52,7 +52,7 @@ func (us *UserService) InfoByUsernamePassword(username, password string) *model.
if err == nil {
return u
}
global.Logger.Error("LDAP authentication failed, %v", err)
global.Logger.Errorf("LDAP authentication failed, %v", err)
global.Logger.Warn("Fallback to local database")
}
u := &model.User{}