mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-23 01:07:35 +00:00
Revert "fix add user role in non pro env (#4300)"
This reverts commit 9e7df5f746
.
This commit is contained in:
parent
ffabca1c5e
commit
d3f4f7669e
@ -102,8 +102,7 @@ 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user