mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-11 07:37:23 +01:00
add permissions cleanup service
This commit is contained in:
parent
1d713fb030
commit
72020d9227
7 changed files with 217 additions and 72 deletions
|
|
@ -30,6 +30,7 @@ public class ServerConfiguration : MareConfigurationBase
|
|||
|
||||
[RemoteConfiguration]
|
||||
public int MaxCharaDataByUserVanity { get; set; } = 50;
|
||||
public bool RunPermissionCleanupOnStartup { get; set; } = true;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
|
@ -43,6 +44,7 @@ public class ServerConfiguration : MareConfigurationBase
|
|||
sb.AppendLine($"{nameof(MaxGroupUserCount)} => {MaxGroupUserCount}");
|
||||
sb.AppendLine($"{nameof(PurgeUnusedAccounts)} => {PurgeUnusedAccounts}");
|
||||
sb.AppendLine($"{nameof(PurgeUnusedAccountsPeriodInDays)} => {PurgeUnusedAccountsPeriodInDays}");
|
||||
sb.AppendLine($"{nameof(RunPermissionCleanupOnStartup)} => {RunPermissionCleanupOnStartup}");
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue