Add InitDb().

This commit is contained in:
Yang Luo
2021-02-15 10:05:14 +08:00
parent 906fe9758e
commit e71311b1af
3 changed files with 54 additions and 1 deletions

View File

@ -46,12 +46,15 @@ class UserListPage extends React.Component {
owner: "admin", // this.props.account.username,
name: `user_${this.state.users.length}`,
createdTime: moment().format(),
password: "123456",
password: "123",
passwordType: "plain",
displayName: `New User - ${this.state.users.length}`,
avatar: "https://casbin.org/img/casbin.svg",
email: "user@example.com",
phone: "1-12345678",
affiliation: "Example Inc.",
tag: "staff",
isAdmin: false,
}
}