expiry: add option to delete after n days
Much like activities, you can have an expired account disabled, then deleted after n days (unless the admin intervenes and re-enables the account). For #341.
This commit is contained in:
+3
-2
@@ -63,8 +63,9 @@ type Activity struct {
|
||||
}
|
||||
|
||||
type UserExpiry struct {
|
||||
JellyfinID string `badgerhold:"key"`
|
||||
Expiry time.Time
|
||||
JellyfinID string `badgerhold:"key"`
|
||||
Expiry time.Time
|
||||
DeleteAfterPeriod bool // Whether or not to further disable the user later on
|
||||
}
|
||||
|
||||
type DebugLogAction int
|
||||
|
||||
Reference in New Issue
Block a user