🐛 Allowed administrators to change other users' passwords (#10891)

closes #10427

- Administrators don't know other users' passwords, but they should be able to change other users' password
- Don't require oldPassword to be provided
This commit is contained in:
Vikas Potluri 2019-07-15 01:19:31 -05:00 committed by Fabien O'Carroll
parent b431dc56cb
commit 2823c0b342

View File

@ -146,7 +146,7 @@ module.exports = {
data: {
newPassword: {required: true},
ne2Password: {required: true},
oldPassword: {required: true},
oldPassword: {required: false},
user_id: {required: true}
}
},