activity: render all activities correctly
the activity type, usernames, time, referrer, and invite code are displayed correctly for all types of activity.
This commit is contained in:
@@ -107,6 +107,7 @@ func (app *appContext) checkUsers() {
|
||||
if mode == "delete" {
|
||||
status, err = app.jf.DeleteUser(id)
|
||||
activity.Type = ActivityDeletion
|
||||
activity.Value = user.Name
|
||||
} else if mode == "disable" {
|
||||
user.Policy.IsDisabled = true
|
||||
// Admins can't be disabled
|
||||
|
||||
Reference in New Issue
Block a user