Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
48e960cc
Unverified
Commit
48e960cc
authored
2 years ago
by
Murtaza Patrawala
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Regression: Unable to edit user details via admin panel (#25923)
parent
9a41c4fa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/meteor/client/views/admin/users/EditUser.js
+0
-1
0 additions, 1 deletion
apps/meteor/client/views/admin/users/EditUser.js
packages/rest-typings/src/v1/users/UsersUpdateParamsPOST.ts
+10
-0
10 additions, 0 deletions
packages/rest-typings/src/v1/users/UsersUpdateParamsPOST.ts
with
10 additions
and
1 deletion
apps/meteor/client/views/admin/users/EditUser.js
+
0
−
1
View file @
48e960cc
...
...
@@ -14,7 +14,6 @@ const getInitialValue = (data) => ({
name
:
data
.
name
??
''
,
password
:
''
,
username
:
data
.
username
,
status
:
data
.
status
,
bio
:
data
.
bio
??
''
,
nickname
:
data
.
nickname
??
''
,
email
:
(
data
.
emails
&&
data
.
emails
.
length
&&
data
.
emails
[
0
].
address
)
||
''
,
...
...
This diff is collapsed.
Click to expand it.
packages/rest-typings/src/v1/users/UsersUpdateParamsPOST.ts
+
10
−
0
View file @
48e960cc
...
...
@@ -18,9 +18,11 @@ export type UsersUpdateParamsPOST = {
roles
?:
string
[];
joinDefaultChannels
?:
boolean
;
requirePasswordChange
?:
boolean
;
setRandomPassword
?:
boolean
;
sendWelcomeEmail
?:
boolean
;
verified
?:
boolean
;
customFields
?:
{};
status
?:
string
;
};
confirmRelinquish
?:
boolean
;
};
...
...
@@ -84,6 +86,10 @@ const UsersUpdateParamsPostSchema = {
type
:
'
boolean
'
,
nullable
:
true
,
},
setRandomPassword
:
{
type
:
'
boolean
'
,
nullable
:
true
,
},
sendWelcomeEmail
:
{
type
:
'
boolean
'
,
nullable
:
true
,
...
...
@@ -96,6 +102,10 @@ const UsersUpdateParamsPostSchema = {
type
:
'
object
'
,
nullable
:
true
,
},
status
:
{
type
:
'
string
'
,
nullable
:
true
,
},
},
required
:
[],
additionalProperties
:
false
,
...
...
This diff is collapsed.
Click to expand it.
Git Mirror User
@gitmirror
mentioned in commit
33aea75a
·
2 years ago
mentioned in commit
33aea75a
mentioned in commit 33aea75a82aef935c3402b94d82f6d073b78ea07
Toggle commit list
Git Mirror User
@gitmirror
mentioned in commit
33aea75a
·
2 years ago
mentioned in commit
33aea75a
mentioned in commit 33aea75a82aef935c3402b94d82f6d073b78ea07
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment