mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 17:35:28 +00:00
chore: remove captcha from login form
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user