diff --git a/frontend/index.html b/frontend/index.html index 787a679..c1cecd5 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4651,6 +4651,10 @@ curl -X POST https://votre-serveur.com/webhook \
+ diff --git a/frontend/js/auth.js b/frontend/js/auth.js index 554460c..621254d 100644 --- a/frontend/js/auth.js +++ b/frontend/js/auth.js @@ -2,7 +2,7 @@ import { state } from './state.js'; import { safeCreateIcons } from './utils.js'; import { showToast, closeHeaderMenu } from './ui.js'; -import { t, getLocale } from './i18n.js'; +import { t, getLocale, setLocale } from './i18n.js'; import { showWelcome } from './viewer.js'; import { loadVaults, loadTags } from './sidebar.js'; @@ -310,7 +310,6 @@ function initLoginForm() { if (resp.ok) { const user = await resp.json(); if (user.language && user.language !== getLocale()) { - const { setLocale } = await import('./i18n.js'); await setLocale(user.language); } }