Skip to content
Snippets Groups Projects
Unverified Commit 53227d76 authored by Andreas Nedbal's avatar Andreas Nedbal Committed by GitHub
Browse files

fix(client): hide bot protection warning with disabled registrations (#8794)


* fix(client): hide bot protection warning with disabled registrations

* Apply review suggestion from @Johann150

Co-authored-by: default avatarJohann150 <johann@qwertqwefsday.eu>

Co-authored-by: default avatarJohann150 <johann@qwertqwefsday.eu>
Co-authored-by: default avatarsyuilo <Syuilotan@yahoo.co.jp>
parent 9cc08aeb
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ let view = $ref(null);
let el = $ref(null);
let pageProps = $ref({});
let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail);
let noBotProtection = !instance.enableHcaptcha && !instance.enableRecaptcha;
let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha;
let noEmailServer = !instance.enableEmail;
let thereIsUnresolvedAbuseReport = $ref(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment