Fix style

This commit is contained in:
Ekaterina Vaartis 2018-12-16 20:55:09 +03:00
parent a525df32c9
commit 3c9c8052f7
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ const registration = {
this.$router.push('/main/all')
}
this.getCaptcha().then(cpt => this.captcha = cpt)
this.getCaptcha().then(cpt => { this.captcha = cpt })
},
computed: {
token () { return this.$route.params.token },
@ -48,8 +48,8 @@ const registration = {
async submit () {
this.user.nickname = this.user.username
this.user.token = this.token
this.user.captcha_solution = this.captcha.solution;
this.user.captcha_token = this.captcha.token;
this.user.captcha_solution = this.captcha.solution
this.user.captcha_token = this.captcha.token
this.$v.$touch()