mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-24 10:54:05 +01:00
Updated translations in new frontend.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Cookies from 'js-cookie'
|
||||
import Vue from 'vue'
|
||||
|
||||
import repository from '@/api/repository'
|
||||
import account from '@/api/account'
|
||||
@@ -28,6 +29,7 @@ const mutations = {
|
||||
SET_AUTH_USER (state, { authUser, isAuthenticated }) {
|
||||
state.authUser = authUser
|
||||
state.isAuthenticated = isAuthenticated
|
||||
Vue.config.language = authUser.language
|
||||
},
|
||||
LOGOUT_USER (state) {
|
||||
state.authUser = null
|
||||
|
||||
Reference in New Issue
Block a user