Updates
This commit is contained in:
@@ -183,10 +183,10 @@ const serverError = __webpack_require__(2163);
|
||||
*
|
||||
* @description Send a boolean response
|
||||
*/ try {
|
||||
const client = new OAuth2Client("392696781563-imb0ddojfn6m4bdokjk5v80jn546t9tq.apps.googleusercontent.com");
|
||||
const client = new OAuth2Client("");
|
||||
const ticket = await client.verifyIdToken({
|
||||
idToken: token,
|
||||
audience: "392696781563-imb0ddojfn6m4bdokjk5v80jn546t9tq.apps.googleusercontent.com"
|
||||
audience: ""
|
||||
});
|
||||
const payload = ticket.getPayload();
|
||||
if (!payload || !payload.email_verified) {
|
||||
|
||||
Reference in New Issue
Block a user