Add last activity update on verify
This commit is contained in:
1 parent
509ca8df12
commit
df92ff8b6f
2 files changed
+8
-2
No files matched your search
@@ -693,6 +693,12 @@ func handleSystemVerify(w http.ResponseWriter, r *http.Request) {
|
||||
response.SystemData = &storedSaveData
|
||||
}
|
||||
|
||||
err = db.UpdateAccountLastActivity(uuid)
|
||||
if err != nil {
|
||||
httpError(w, r, fmt.Errorf("failed to update account last activity: %s", err), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
jsonResponse(w, r, response)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user