Add: get access token

This commit is contained in:
Cutls
2019-04-25 01:04:26 +09:00
parent 4887dfbd5b
commit fd719a0235
2 changed files with 24 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ type Instance = string
export default class Auth extends Vue {
public instance: Instance = ""
public inputCode: boolean = false
public code: string
public get hasDomain() {
return this.instance != ""
}
@@ -37,7 +38,7 @@ export default class Auth extends Vue {
public authCode() {
let code = this.code
this.inputCode = true
ipcRenderer.send(`new-account-setup`, target)
ipcRenderer.send(`new-account-auth`, code, this.instance)
}
}
</script>