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