0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 23:12:39 +00:00

Add updateTokens param to GoogleActions/authCheck

This commit is contained in:
G.Ambatte
2022-11-29 10:00:23 +13:00
parent 090da33f33
commit 420d703f9d
2 changed files with 3 additions and 3 deletions

View File

@@ -340,7 +340,7 @@ app.get('/account', asyncHandler(async (req, res, next)=>{
if(req.account) {
if(req.account.googleId) {
try {
auth = await GoogleActions.authCheck(req.account, res);
auth = await GoogleActions.authCheck(req.account, res, false);
} catch (e) {
auth = undefined;
console.log('Google auth check failed!');