Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TokenKey = stringutil.Rand(32)
TokenKey 加密用的密钥
Functions ¶
This section is empty.
Types ¶
type IndexAction ¶
type IndexAction struct {
actionutils.ParentAction
}
func (*IndexAction) RunGet ¶
func (this *IndexAction) RunGet(params struct { From string Auth *helpers.UserShouldAuth })
func (*IndexAction) RunPost ¶
func (this *IndexAction) RunPost(params struct { Token string Username string Password string OtpCode string Remember bool Must *actions.Must Auth *helpers.UserShouldAuth CSRF *actionutils.CSRF })
RunPost 提交
type OtpAction ¶ added in v0.6.4
type OtpAction struct {
actionutils.ParentAction
}
Click to show internal directories.
Click to hide internal directories.