fixed google

This commit is contained in:
2025-11-21 18:10:17 -06:00
parent 38211e253e
commit 8b2266cb51
@@ -8,7 +8,8 @@ export class GoogleAuthGuard extends AuthGuard('google') {
if (err || !user) {
return res.redirect(
`${process.env.FRONTEND_URL}/oauth-callback?error=cancelado`,
`${process.env.FRONTEND_URL}/oauth-callback?error=${info.message || info}`,
);
}