This commit is contained in:
richboo111
2022-08-12 10:26:21 +08:00
parent ff4e84e2e0
commit 4567d8dff6

View File

@@ -161,7 +161,7 @@ func getFixedTokenName(token string) *AuthInfo {
func createAuthInfo(user IUser, authBindInfo *AuthBindEx) (authInfo *AuthInfo) {
token, tokenType := createToken(user, authBindInfo)
//user为空 tokenType=2
globals.SugarLogger.Debug("tokentokenType============", token, tokenType)
globals.SugarLogger.Debug("tokentokenType,user============", token, tokenType, user)
expireDuration := DefTokenDuration
authInfo = &AuthInfo{
AuthBindInfo: authBindInfo,