Commit 1e49a8ea by 芋道源码 Committed by Gitee

!170 Expiration time should not set on the refresh token

Merge pull request !170 from 呵呵大/N/A
parents 226cc03d 5554d7c9
......@@ -20,7 +20,7 @@ export const getRefreshToken = () => {
// 设置token
export const setToken = (token: TokenType) => {
wsCache.set(RefreshTokenKey, token.refreshToken, { exp: token.expiresTime })
wsCache.set(RefreshTokenKey, token.refreshToken)
wsCache.set(AccessTokenKey, token.accessToken)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment