feat(spam): Introduce checking new accounts, events & comments for spam with the help of Akismet

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-01-31 19:35:29 +01:00
parent 1db5c4ae2d
commit 317a3434b2
83 changed files with 7186 additions and 2394 deletions

View File

@@ -42,7 +42,7 @@
>
{{ error }}
</o-notification>
<form @submit="loginAction" v-if="config?.auth.databaseLogin">
<form @submit="loginAction" v-if="config?.auth?.databaseLogin">
<o-field
:label="t('Email')"
label-for="email"
@@ -116,7 +116,7 @@
</p>
</div>
</form>
<div v-if="config && config?.auth.oauthProviders.length > 0">
<div v-if="config && config?.auth?.oauthProviders?.length > 0">
<auth-providers :oauthProviders="config.auth.oauthProviders" />
</div>
</section>
@@ -169,7 +169,7 @@ const config = computed(() => configResult.value?.config);
const canRegister = computed(() => {
return (
(config.value?.registrationsOpen || config.value?.registrationsAllowlist) &&
config.value?.auth.databaseLogin
config.value?.auth?.databaseLogin
);
});