dd
This commit is contained in:
@@ -475,8 +475,7 @@ func ClearUserToken(userID string) {
|
||||
func createToken(user IUser, authBindInfo *AuthBindEx) (token string, tokenType int) {
|
||||
userID := TokenUserEmpty
|
||||
userName := authBindInfo.AuthID
|
||||
tokenType = TokenTypeNormal
|
||||
//tokenType = TokenTypeOnlyAuth
|
||||
tokenType = TokenTypeOnlyAuth
|
||||
if user != nil {
|
||||
userID = user.GetID()
|
||||
userName = "[" + user.GetID2() + "]"
|
||||
|
||||
Reference in New Issue
Block a user