dd
This commit is contained in:
@@ -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("token,tokenType============", token, tokenType)
|
||||
globals.SugarLogger.Debug("token,tokenType,user============", token, tokenType, user)
|
||||
expireDuration := DefTokenDuration
|
||||
authInfo = &AuthInfo{
|
||||
AuthBindInfo: authBindInfo,
|
||||
|
||||
Reference in New Issue
Block a user