dd
This commit is contained in:
@@ -161,7 +161,7 @@ func getFixedTokenName(token string) *AuthInfo {
|
|||||||
func createAuthInfo(user IUser, authBindInfo *AuthBindEx) (authInfo *AuthInfo) {
|
func createAuthInfo(user IUser, authBindInfo *AuthBindEx) (authInfo *AuthInfo) {
|
||||||
token, tokenType := createToken(user, authBindInfo)
|
token, tokenType := createToken(user, authBindInfo)
|
||||||
//user为空 tokenType=2
|
//user为空 tokenType=2
|
||||||
globals.SugarLogger.Debug("token,tokenType============", token, tokenType)
|
globals.SugarLogger.Debug("token,tokenType,user============", token, tokenType, user)
|
||||||
expireDuration := DefTokenDuration
|
expireDuration := DefTokenDuration
|
||||||
authInfo = &AuthInfo{
|
authInfo = &AuthInfo{
|
||||||
AuthBindInfo: authBindInfo,
|
AuthBindInfo: authBindInfo,
|
||||||
|
|||||||
Reference in New Issue
Block a user