ips: log on activities, show on card

This commit is contained in:
Harvey Tindall
2023-12-23 21:47:41 +00:00
parent 269836fc99
commit f823705e40
14 changed files with 77 additions and 50 deletions
+2 -2
View File
@@ -361,7 +361,7 @@ func (app *appContext) ResetPassword(gc *gin.Context) {
SourceType: ActivityUser,
Source: jfUser.ID,
Time: time.Now(),
})
}, gc, true)
}
}
@@ -611,7 +611,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) {
app.debug.Printf("Invalid key")
return
}
f, success := app.newUser(req, true)
f, success := app.newUser(req, true, gc)
if !success {
app.err.Printf("Failed to create new user")
// Not meant for us. Calling this will be a mess, but at least it might give us some information.