mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 15:45:23 +00:00
feat: drop the 2.8 columns, moves and aliases kept for a downgrade
This commit is contained in:
1 parent
d3d8269cb7
commit
61f46d2517
196 files changed
+29909
-10511
No files matched your search
@@ -151,7 +151,7 @@ export function AdminSettingsPanel({
|
||||
const [linkAccountTarget, setLinkAccountTarget] = useState<{
|
||||
id: string;
|
||||
username: string;
|
||||
isOidc: boolean;
|
||||
isExternal: boolean;
|
||||
} | null>(null);
|
||||
|
||||
// Unlink account dialog
|
||||
@@ -242,7 +242,7 @@ export function AdminSettingsPanel({
|
||||
id: user.userId,
|
||||
username: user.username,
|
||||
isAdmin: user.is_admin,
|
||||
isOidc: user.is_external ?? user.is_oidc,
|
||||
isExternal: user.is_external ?? false,
|
||||
passwordHash: user.password_hash,
|
||||
dataUnlocked: user.data_unlocked,
|
||||
secondFactorEnabled: user.second_factor_enabled,
|
||||
@@ -954,7 +954,7 @@ export function AdminSettingsPanel({
|
||||
setUsers((prev) =>
|
||||
prev.map((u) =>
|
||||
u.id === userId
|
||||
? { ...u, isOidc: false, passwordHash: undefined }
|
||||
? { ...u, isExternal: false, passwordHash: undefined }
|
||||
: u,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user