Files
waf-platform/EdgeAdmin/internal/web/actions/default/httpdns/ech/rollbackMfaPopup.go
2026-02-27 10:35:22 +08:00

33 lines
585 B
Go

package ech
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
"github.com/iwind/TeaGo/actions"
)
type RollbackMfaPopupAction struct {
actionutils.ParentAction
}
func (this *RollbackMfaPopupAction) Init() {
this.Nav("", "", "")
}
func (this *RollbackMfaPopupAction) RunGet(params struct {
LogId int64
}) {
this.RedirectURL("/httpdns/apps")
}
func (this *RollbackMfaPopupAction) RunPost(params struct {
LogId int64
Reason string
OtpCode1 string
OtpCode2 string
Must *actions.Must
CSRF *actionutils.CSRF
}) {
this.Fail("feature removed")
}