forked from abner/for-legacy-web
chore: remove captcha from login form
parent
e29678a6a3
commit
9f3e47d327
|
|
@ -80,7 +80,11 @@ export const Form = observer(({ page, callback }: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (configuration?.features.captcha.enabled && page !== "reset") {
|
if (
|
||||||
|
configuration?.features.captcha.enabled &&
|
||||||
|
page !== "reset" &&
|
||||||
|
page !== "login"
|
||||||
|
) {
|
||||||
setCaptcha({
|
setCaptcha({
|
||||||
onSuccess: async (captcha) => {
|
onSuccess: async (captcha) => {
|
||||||
setCaptcha(undefined);
|
setCaptcha(undefined);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue