chore: remove captcha from login form

This commit is contained in:
Paul Makles 2022-10-23 21:08:36 +01:00
parent e29678a6a3
commit 9f3e47d327

View file

@ -80,7 +80,11 @@ export const Form = observer(({ page, callback }: Props) => {
}
try {
if (configuration?.features.captcha.enabled && page !== "reset") {
if (
configuration?.features.captcha.enabled &&
page !== "reset" &&
page !== "login"
) {
setCaptcha({
onSuccess: async (captcha) => {
setCaptcha(undefined);