mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-08 12:11:03 +08:00
feat: add back support for non-discoverable credential WebAuthn login and display WebAuthn ID again (#3998)
This commit is contained in:
@@ -42,8 +42,9 @@ class WebAuthnCredentialTable extends React.Component {
|
||||
const columns = [
|
||||
{
|
||||
title: i18next.t("general:Name"),
|
||||
dataIndex: "ID",
|
||||
key: "ID",
|
||||
dataIndex: "id",
|
||||
key: "id",
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: i18next.t("general:Action"),
|
||||
@@ -60,7 +61,7 @@ class WebAuthnCredentialTable extends React.Component {
|
||||
];
|
||||
|
||||
return (
|
||||
<Table rowKey={"ID"} columns={columns} dataSource={this.props.table} size="middle" bordered pagination={false}
|
||||
<Table rowKey={"id"} columns={columns} dataSource={this.props.table} size="middle" bordered pagination={false}
|
||||
title={() => (
|
||||
<div>
|
||||
{i18next.t("user:WebAuthn credentials")}
|
||||
|
Reference in New Issue
Block a user