diff --git a/webapp/pages/login.vue b/webapp/pages/login.vue index 4db3a7c3d..b9228cde5 100644 --- a/webapp/pages/login.vue +++ b/webapp/pages/login.vue @@ -25,12 +25,8 @@ export default { } }, methods: { - handleSuccess() { - const currentLocale = this.$i18n.locale() - const userSettingLocale = this.user.locale - if (currentLocale !== userSettingLocale) { - this.$i18n.set(userSettingLocale) - } + handleSuccess() { + this.$i18n.set(this.user.locale) this.$router.replace(this.$route.query.path || '/') }, },