mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-08 16:31:20 +02:00
add auto remove orphans
fix orphans in dynamic groups not included Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
8fa58ded8f
commit
83f9e8f279
21 files changed
+721
-54
No files matched your search
@@ -126,7 +126,7 @@ func (c *Log) SetLevel(g *gin.Context) {
|
||||
// set db log level in database
|
||||
dbLevel := vo.NewOptionalString1MBMust(request.DBLevel)
|
||||
dbLogLevelOption := model.Option{
|
||||
Key: *vo.NewString64Must(data.OptionKeyDBLogLevel),
|
||||
Key: *vo.NewString127Must(data.OptionKeyDBLogLevel),
|
||||
Value: *dbLevel,
|
||||
}
|
||||
err := c.persist(
|
||||
@@ -159,7 +159,7 @@ func (c *Log) SetLevel(g *gin.Context) {
|
||||
|
||||
// set log level in in memory logger struct
|
||||
logLevel := model.Option{
|
||||
Key: *vo.NewString64Must(data.OptionKeyLogLevel),
|
||||
Key: *vo.NewString127Must(data.OptionKeyLogLevel),
|
||||
Value: *vo.NewOptionalString1MBMust(request.Level),
|
||||
}
|
||||
err := c.persist(
|
||||
|
||||
Reference in new issue
Block a user