clear console log, regprozess runnig

This commit is contained in:
ogerly 2021-02-26 17:47:02 +01:00
parent 19206e5e53
commit b64d8969b5
2 changed files with 6 additions and 13 deletions

View File

@ -61,8 +61,8 @@ export const store = new Vuex.Store({
}
},
createUser: async ({ dispatch }, data) => {
console.log('action: createUser')
console.log('data ', data)
//console.log('action: createUser')
//console.log('data ', data)
const result = await loginAPI.create(data.email,data.first_name,data.last_name,data.password)
if( result.success ){
// TODO We are not logged in, we need to do that manually.

View File

@ -92,10 +92,8 @@
</div>
<div>
<!--Notice modal-->
<notifications></notifications>
</div>
</b-container>
</div>
@ -112,18 +110,13 @@
email: '',
password: '',
agree: false
},
modals: false
}
}
},
created() {
console.log("this.modals =>", this.modals)
},
methods: {
onSubmit() {
console.log("this.modals =>", this.modals)
//this.$store.dispatch('createUser', {"email":this.model.email, "first_name":this.model.firstname, "last_name":this.model.lastname , "emailType": 2, "password":this.model.password})
this.$notify({type: 'danger', message: 'Danger Notification'})
// console.log("this.modals =>", this.modals)
this.$store.dispatch('createUser', {"email":this.model.email, "first_name":this.model.firstname, "last_name":this.model.lastname , "emailType": 2, "password":this.model.password})
this.model.email = ""
this.model.firstname = ""
this.model.lastname = ""