mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 14:49:43 +02:00
parent
dab38cbc18
commit
7786533a90
40 changed files with 273 additions and 133 deletions
|
@ -69,7 +69,7 @@ module.exports = {
|
|||
const values = _.pick(inputs, ['email']);
|
||||
|
||||
user = await sails.helpers.users
|
||||
.updateOne(user, values, this.req)
|
||||
.updateOne(user, values, currentUser, this.req)
|
||||
.intercept('emailAlreadyInUse', () => Errors.EMAIL_ALREADY_IN_USE);
|
||||
|
||||
if (!user) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue