diff --git a/app/src/plugins/app@vendor/vue-cal/utils/date.js b/app/src/plugins/app@vendor/vue-cal/utils/date.js index eec9b14..e6d7a89 100644 --- a/app/src/plugins/app@vendor/vue-cal/utils/date.js +++ b/app/src/plugins/app@vendor/vue-cal/utils/date.js @@ -110,8 +110,6 @@ export default class DateUtils { } getWeek (date) { - console.log(date) - console.log('kokot') const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate())) const dayNum = d.getUTCDay() || 7 d.setUTCDate(d.getUTCDate() + 4 - dayNum) diff --git a/app/src/plugins/lib@auth/forgot-password/_components/a-forgot-password-form.vue b/app/src/plugins/lib@auth/forgot-password/_components/a-forgot-password-form.vue index e930381..1c9f622 100644 --- a/app/src/plugins/lib@auth/forgot-password/_components/a-forgot-password-form.vue +++ b/app/src/plugins/lib@auth/forgot-password/_components/a-forgot-password-form.vue @@ -45,7 +45,8 @@ export default { try { await this.$store.dispatch('auth/forgotPassword', this.credentials) - this.$router.push(`${this.navigateToAfterForgotPassword}?email=${this.credentials.email}`) + this.$router.push({name: 'Reset password', query: {email: this.credentials.email}}) + this.$toast.success('Reset code has been sent to your email.') } catch (error) { this.$toast.error(error) } diff --git a/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue b/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue index 0abae45..57a390b 100644 --- a/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue +++ b/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue @@ -1,6 +1,6 @@