Compare commits

..

2 Commits

Author SHA1 Message Date
cws bd7568a159 Merge pull request 'auth: remove console.log' (#17) from users into master
Reviewed-on: #17
2020-03-16 22:36:28 +00:00
Chris Sexton a1d39c3930 auth: remove console.log 2020-03-16 18:36:06 -04:00
1 changed files with 0 additions and 3 deletions

View File

@ -49,9 +49,6 @@
onSubmit(evt) { onSubmit(evt) {
evt.preventDefault() evt.preventDefault()
this.$store.dispatch('login', {username: this.form.username, password: this.form.password}) this.$store.dispatch('login', {username: this.form.username, password: this.form.password})
.catch((err) => {
console.log(err)
})
.then(() => { .then(() => {
this.$cookies.set('key', this.$store.state.key) this.$cookies.set('key', this.$store.state.key)
if (!this.$route.params.returnTo) if (!this.$route.params.returnTo)