mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-15 09:55:37 +08:00
修复acme账户reg更新问题
This commit is contained in:
@@ -55,7 +55,7 @@ func SaveUserToDB(db *public.Sqlite, user *MyUser, Type string) error {
|
||||
return err
|
||||
}
|
||||
if len(data) > 0 {
|
||||
_, err = db.Update(map[string]interface{}{
|
||||
_, err = db.Where("id=?", []any{data[0]["id"]}).Update(map[string]interface{}{
|
||||
"private_key": string(pemBytes),
|
||||
"reg": regBytes,
|
||||
"update_time": now,
|
||||
|
||||
Reference in New Issue
Block a user