mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 06:50:53 +08:00
fix: google login problem
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user