1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

Merge branch 'master' of github.com:Budibase/budibase into develop

This commit is contained in:
mike12345567 2021-02-22 10:59:34 +00:00
commit 7ccb905c4b

View file

@ -96,7 +96,10 @@ exports.patch = async function(ctx) {
// Creation of a new user goes to the user controller
if (row.tableId === ViewNames.USERS) {
// the row has been updated, need to put it into the ctx
ctx.request.body = row
ctx.request.body = {
...row,
password: ctx.request.body.password,
}
await usersController.update(ctx)
return
}