Fix jwt-token

This commit is contained in:
2025-09-20 06:09:42 +02:00
parent 080acbc32e
commit 903aae4aae

View File

@@ -196,6 +196,7 @@ const GeneralSettings = ({ tenantConfig }) => {
// Branding Settings Component // Branding Settings Component
const BrandingSettings = ({ tenantConfig, onRefresh }) => { const BrandingSettings = ({ tenantConfig, onRefresh }) => {
const { user } = useAuth(); const { user } = useAuth();
const { t } = useTranslation();
const [branding, setBranding] = useState({ const [branding, setBranding] = useState({
logo_url: '', logo_url: '',
primary_color: '#3B82F6', primary_color: '#3B82F6',
@@ -427,6 +428,7 @@ const BrandingSettings = ({ tenantConfig, onRefresh }) => {
// Placeholder components for other tabs // Placeholder components for other tabs
const SecuritySettings = ({ tenantConfig, onRefresh }) => { const SecuritySettings = ({ tenantConfig, onRefresh }) => {
const { user } = useAuth(); const { user } = useAuth();
const { t } = useTranslation();
const [securitySettings, setSecuritySettings] = useState({ const [securitySettings, setSecuritySettings] = useState({
ip_restriction_enabled: false, ip_restriction_enabled: false,
ip_whitelist: [], ip_whitelist: [],