enhance(client): メールアドレスの認証にクリック必須に

This commit is contained in:
syuilo
2021-12-22 22:38:42 +09:00
parent a3dceee7c0
commit 35b7ce1a96
2 changed files with 9 additions and 5 deletions

View File

@ -31,12 +31,15 @@ export default defineComponent({
}
},
mounted() {
os.apiWithDialog('signup-pending', {
code: this.code,
}).then(res => {
login(res.i, '/');
async mounted() {
await os.alert({
type: 'info',
text: this.$t('clickToFinishEmailVerification', { ok: this.$ts.gotIt }),
});
const res = await os.apiWithDialog('signup-pending', {
code: this.code,
});
login(res.i, '/');
},
methods: {