mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
training queue
This commit is contained in:
@@ -26,7 +26,7 @@ export const authGoogleToken = async (data: {
|
||||
const res = await axios.post<{ score?: number }>(
|
||||
`https://www.recaptcha.net/recaptcha/api/siteverify?${Obj2Query(data)}`
|
||||
);
|
||||
if (res.data.score && res.data.score >= 0.9) {
|
||||
if (res.data.score && res.data.score >= 0.5) {
|
||||
return Promise.resolve('');
|
||||
}
|
||||
return Promise.reject('非法环境');
|
||||
|
Reference in New Issue
Block a user