- fk
This commit is contained in:
@@ -362,7 +362,7 @@ func GetTokenType(token string) (tokenType int) {
|
|||||||
|
|
||||||
func IsV2Token(token string) bool {
|
func IsV2Token(token string) bool {
|
||||||
tokenPartList := strings.Split(token, TokenTypeSep)
|
tokenPartList := strings.Split(token, TokenTypeSep)
|
||||||
return tokenPartList[0] == TokenVer
|
return tokenPartList[1] == TokenVer
|
||||||
}
|
}
|
||||||
|
|
||||||
func GuessAuthTypeFromAuthID(authID string) (authType string) {
|
func GuessAuthTypeFromAuthID(authID string) (authType string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user