mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 16:40:58 -05:00
merge: branch 'master' into production
This commit is contained in:
commit
3836156f3d
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue