Skip to content
Snippets Groups Projects
Commit 4c9e0b51 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

adjustments according to code review, re #4113

parent 4448e403
No related branches found
No related tags found
No related merge requests found
<template>
<div class="formpart">
<p>{{ $gettext('An dieser Stelle prüfen wir automatisch, ob Sie ein Mensch sind.') }}</p>
<altcha-widget :challengeurl="challengeUrl" ref="widget"></altcha-widget>
{{ $gettext('An dieser Stelle prüfen wir automatisch, ob Sie ein Mensch sind.') }}
</div>
</template>
<script>
......@@ -25,17 +25,12 @@ export default {
validator: (value) => ['onfocus', 'onload', 'onsubmit'].includes(value),
}
},
data() {
return {};
},
methods: {
},
mounted() {
this.$nextTick(() => {
this.$refs.widget.configure({
auto: this.auto,
name: this.name,
hidefooter: false,
hidefooter: true,
hidelogo: false,
strings: {
error: $gettext('Überprüfung fehlgeschlagen. Versuchen Sie es später erneut.'),
......@@ -68,4 +63,7 @@ export default {
--altcha-color-footer-bg: none;
--altcha-max-width: auto;
}
.altcha-main {
padding: 0 !important;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment