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": {
"title": "User Settings",
"menu": {
"general": "General",
"security": "Account & Security",
"experiments": "Experiments",
"about": "About",
"title": "Settings"
},
"general": {
"title": "General",
"about": "About",

View File

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

View File

@ -118,7 +118,7 @@ export default {
},
resendEmail() {
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(() => {
this.$buefy.snackbar.open({
message: this.$t("errors.verifySent"),