mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 12:59:06 +01:00
Fix user display configrations not persisting in SQLite table
- Was missing user.username key
This commit is contained in:
parent
5abd3641b2
commit
186c8f7311
@ -132,7 +132,7 @@ func (uCfg *UserCfgRepo) UpdateConfig(
|
||||
}
|
||||
|
||||
if _, err := uCfg.DB.Exec(`REPLACE INTO configuration (username, confkey, value) VALUES (?, ?, ?)`,
|
||||
user, key, value); err != nil {
|
||||
user.Username, key, value); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user