mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: token refreshing logic issue (#9308)
This commit is contained in:
@@ -99,7 +99,7 @@ const NormalForm = () => {
|
||||
if (res.result === 'success') {
|
||||
localStorage.setItem('console_token', res.data.access_token)
|
||||
localStorage.setItem('refresh_token', res.data.refresh_token)
|
||||
getNewAccessToken(res.data.access_token, res.data.refresh_token)
|
||||
getNewAccessToken()
|
||||
router.replace('/apps')
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user