Merge pull request 'auth: remove console.log' (#17) from users into master
Reviewed-on: #17
This commit is contained in:
commit
bd7568a159
|
@ -49,9 +49,6 @@
|
|||
onSubmit(evt) {
|
||||
evt.preventDefault()
|
||||
this.$store.dispatch('login', {username: this.form.username, password: this.form.password})
|
||||
.catch((err) => {
|
||||
console.log(err)
|
||||
})
|
||||
.then(() => {
|
||||
this.$cookies.set('key', this.$store.state.key)
|
||||
if (!this.$route.params.returnTo)
|
||||
|
|
Loading…
Reference in New Issue