mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 00:20:57 -05:00
chore: remove captcha from login form
This commit is contained in:
parent
e29678a6a3
commit
9f3e47d327
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue