Fix jwt-token

This commit is contained in:
2025-09-23 09:26:18 +02:00
parent f3b2c0c7ba
commit 3412aadb9c
6 changed files with 494 additions and 94 deletions

View File

@@ -82,7 +82,7 @@ const Settings = () => {
setTenantConfig(response.data.data);
} catch (error) {
console.error('Failed to fetch tenant config:', error);
toast.error('Failed to load tenant settings');
toast.error(t('settings.failedToLoad'));
} finally {
setLoading(false);
}
@@ -104,7 +104,7 @@ const Settings = () => {
<ShieldCheckIcon className="mx-auto h-12 w-12 text-gray-400" />
<h3 className="mt-2 text-sm font-medium text-gray-900">{t('settings.accessDenied')}</h3>
<p className="mt-1 text-sm text-gray-500">
{t('settings.accessDeniedMessage')}
{t('settings.noPermission')}
</p>
</div>
</div>