Skip to content
Snippets Groups Projects
Commit 2b903f79 authored by raeno's avatar raeno
Browse files

Fix broken ToS link. Fix linter errors

parent 00293137
No related branches found
No related tags found
1 merge request!399Registration form: Client side validation + better display of server validation errors
import { validationMixin } from 'vuelidate'
import { required } from 'vuelidate/lib/validators'
import { mapActions, mapState } from 'vuex'
import { SIGN_UP } from "../../mutation_types"
import { SIGN_UP } from '../../mutation_types'
const registration = {
mixins: [validationMixin],
......@@ -36,7 +36,7 @@ const registration = {
...mapState({
isPending: (state) => state.users[SIGN_UP.isPending],
serverValidationErrors: (state) => state.users[SIGN_UP.errors],
termsofservice: 'instance.tos',
termsofservice: (state) => state.instance.tos
})
},
methods: {
......
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