mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
fix add user role in non pro env (#4300)
This commit is contained in:
@@ -102,7 +102,8 @@ class SysAdminAddUserDialog extends React.Component {
|
||||
let data = {
|
||||
email: email.trim(),
|
||||
name: name.trim(),
|
||||
password: password.trim()
|
||||
password: password.trim(),
|
||||
role: '',
|
||||
};
|
||||
if (this.props.showRole) {
|
||||
data.role = role;
|
||||
|
Reference in New Issue
Block a user