mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: add auth extension points and one ssh connect pipeline
This commit is contained in:
1 parent
d3c209af13
commit
d774df8b41
159 files changed
+43243
-7451
No files matched your search
@@ -51,6 +51,7 @@ import {
|
||||
} from "@/main-axios";
|
||||
import type { Host, Credential } from "@/types/ui-types";
|
||||
import { CredentialEditorView } from "./CredentialEditorView";
|
||||
import { AdminSecondFactorsSection } from "./AdminSecondFactorsSection";
|
||||
import { HostEditor } from "./HostEditor";
|
||||
import { mapCredentials, sshHostToHost } from "./HostManagerData";
|
||||
import type { AdminSession, AdminUser } from "./AdminManagementSections";
|
||||
@@ -585,6 +586,19 @@ export function AdminUserManagePanel({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<AdminSecondFactorsSection
|
||||
userId={user.id}
|
||||
username={user.username}
|
||||
heading={sectionHeading(t("admin.secondFactorsSectionTitle"))}
|
||||
requestConfirm={(message, onConfirm) =>
|
||||
setConfirmDialog({ message, onConfirm })
|
||||
}
|
||||
onReset={() => {
|
||||
setTotpEnabled(false);
|
||||
onTotpDisabled();
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Roles */}
|
||||
<div className="flex flex-col gap-2">
|
||||
{sectionHeading(t("admin.userRoles"))}
|
||||
|
||||
Reference in new issue
Block a user