mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +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