only save refresh token in google auth

This commit is contained in:
Martin McKeaveney 2022-04-24 23:33:50 +01:00
parent 84d2bb3cf5
commit 46b424308f
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ async function postAuth(passport, ctx, next) {
callbackUrl,
(accessToken, refreshToken, profile, done) => {
clearCookie(ctx, Cookies.DatasourceAuth)
done(null, { accessToken, refreshToken })
done(null, { refreshToken })
}
)