feat: email verification

This commit is contained in:
Hasta Ragil Saputra
2019-01-29 15:12:06 +07:00
parent 327e01ef9e
commit 2f4c76d48a
2 changed files with 46 additions and 6 deletions

View File

@@ -73,6 +73,13 @@ export class Authentication {
})
}
@action
verifyEmail(key) {
return this.http.post('authentication/email_verification', {
key
})
}
@action
logout() {
this.context.setToken("");