mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
fix(be): Change of user password fails when using postgres https://github.com/ansible-semaphore/semaphore/issues/896
This commit is contained in:
parent
6d8a8b6763
commit
f5b66a1d14
@ -69,7 +69,7 @@ func (d *SqlDb) UpdateUser(user db.UserWithPwd) error {
|
||||
return err
|
||||
}
|
||||
_, err = d.exec(
|
||||
"update user set name=?, username=?, email=?, alert=?, admin=?, password=? where id=?",
|
||||
"update `user` set name=?, username=?, email=?, alert=?, admin=?, password=? where id=?",
|
||||
user.Name,
|
||||
user.Username,
|
||||
user.Email,
|
||||
|
Loading…
Reference in New Issue
Block a user