Initial commit (code only without large binaries)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package security
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
|
||||
)
|
||||
|
||||
type DismissXFFPromptAction struct {
|
||||
actionutils.ParentAction
|
||||
}
|
||||
|
||||
func (this *DismissXFFPromptAction) RunPost(params struct{}) {
|
||||
helpers.DisableXFFPrompt()
|
||||
|
||||
this.Success()
|
||||
}
|
||||
Reference in New Issue
Block a user