mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
Add InitDb().
This commit is contained in:
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user