mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 18:03:48 +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 = {
|
let data = {
|
||||||
email: email.trim(),
|
email: email.trim(),
|
||||||
name: name.trim(),
|
name: name.trim(),
|
||||||
password: password.trim()
|
password: password.trim(),
|
||||||
|
role: '',
|
||||||
};
|
};
|
||||||
if (this.props.showRole) {
|
if (this.props.showRole) {
|
||||||
data.role = role;
|
data.role = role;
|
||||||
|
Reference in New Issue
Block a user