strip out debug output
This commit is contained in:
parent
d912b83608
commit
abf53aea2d
2 changed files with 0 additions and 2 deletions
|
@ -56,7 +56,6 @@ export default {
|
||||||
password: this.password
|
password: this.password
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
console.log('login', response.data)
|
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
let cookie_data = JSON.parse(response.data.message)
|
let cookie_data = JSON.parse(response.data.message)
|
||||||
Cookies.set('session', cookie_data.value, cookie_data.properties)
|
Cookies.set('session', cookie_data.value, cookie_data.properties)
|
||||||
|
|
|
@ -75,7 +75,6 @@ export default {
|
||||||
password: this.password
|
password: this.password
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
console.log('register', response.data)
|
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
this.$refs.main.showSnackbar('Registration successful!', 'success')
|
this.$refs.main.showSnackbar('Registration successful!', 'success')
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in a new issue