Fix email

This commit is contained in:
Troplo 2021-04-11 23:21:44 +10:00
parent 396ecbc434
commit 85dfb5f399
3 changed files with 11 additions and 4 deletions

View file

@ -239,6 +239,13 @@
}, },
"settings": { "settings": {
"title": "User Settings", "title": "User Settings",
"menu": {
"general": "General",
"security": "Account & Security",
"experiments": "Experiments",
"about": "About",
"title": "Settings"
},
"general": { "general": {
"title": "General", "title": "General",
"about": "About", "about": "About",

View file

@ -42,15 +42,15 @@ export default {
return { return {
menuItems: [ menuItems: [
{ {
name: "General", name: this.$t('settings.menu.general'),
route: "general", route: "general",
}, },
{ {
name: "Security", name: this.$t('settings.menu.security'),
route: "security", route: "security",
}, },
{ {
name: "About", name: this.$t('settings.menu.about'),
route: "about", route: "about",
}, },
], ],

View file

@ -118,7 +118,7 @@ export default {
}, },
resendEmail() { resendEmail() {
this.resend.loading = true this.resend.loading = true
this.axios.post(process.env.VUE_APP_API_ENDPOINT + process.env.VUE_APP_API_VERSION + `/` + `users/recovery/send`) this.axios.post(process.env.VUE_APP_API_ENDPOINT + process.env.VUE_APP_API_VERSION + `/` + `users/verify/send`)
.then(() => { .then(() => {
this.$buefy.snackbar.open({ this.$buefy.snackbar.open({
message: this.$t("errors.verifySent"), message: this.$t("errors.verifySent"),