Add PasswordSalt to org.

This commit is contained in:
Yang Luo
2021-05-05 23:40:18 +08:00
parent f442f11568
commit 8a4311c85c
10 changed files with 28 additions and 21 deletions

View File

@ -50,6 +50,8 @@ class OrganizationListPage extends React.Component {
displayName: `New Organization - ${this.state.organizations.length}`,
websiteUrl: "https://door.casbin.com",
favicon: "https://cdn.casbin.com/static/favicon.ico",
passwordType: "plain",
PasswordSalt: "",
}
}
@ -149,6 +151,13 @@ class OrganizationListPage extends React.Component {
width: '150px',
sorter: (a, b) => a.passwordType.localeCompare(b.passwordType),
},
{
title: i18next.t("general:Password salt"),
dataIndex: 'passwordSalt',
key: 'passwordSalt',
width: '150px',
sorter: (a, b) => a.passwordSalt.localeCompare(b.passwordSalt),
},
{
title: i18next.t("general:Action"),
dataIndex: '',