33 lines
585 B
Go
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")
|
|
}
|