fix: google login problem

This commit is contained in:
tim
2025-07-15 19:40:46 +08:00
parent 0820ac2a14
commit 43f4e03586

View File

@@ -116,6 +116,8 @@ public class AuthController {
"reason_code", "NOT_APPROVED"
));
}
return ResponseEntity.ok(Map.of("token", jwtService.generateToken(user.get().getUsername())));
}
return ResponseEntity.badRequest().body(Map.of(
"error", "Invalid google token",