fixed updating with password changes
This commit is contained in:
@@ -85,6 +85,9 @@ export default class UpdateEmployeeValidator {
|
||||
table: 'employees',
|
||||
column: 'username',
|
||||
caseInsensitive: true,
|
||||
whereNot: {
|
||||
id: this.ctx.params.id
|
||||
}
|
||||
})
|
||||
]
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user