touched up the database code to use transactions where necessary

This commit is contained in:
2025-11-28 23:01:56 -07:00
parent d73070f9b7
commit 7ce3bed15b
10 changed files with 376 additions and 132 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func Login(ctxt ui.AmContext) (string, any, error) {
return dlg.RenderError(ctxt, "User name not specified.")
}
if action == "remind" { // Password Reminder button pressed
user, uerr := database.AmGetUserByName(username)
user, uerr := database.AmGetUserByName(username, nil)
if uerr == nil {
var ci *database.ContactInfo
ci, uerr = user.ContactInfo()