MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Login

Method Login

core/utils/xpack/helper/auth_helper.go:17–19  ·  view source on GitHub ↗
(c *gin.Context, info baseDto.Login, entrance string)

Source from the content-addressed store, hash-verified

15}
16
17func (a *authHelper) Login(c *gin.Context, info baseDto.Login, entrance string) (*baseDto.UserLoginInfo, string, error) {
18 return auth.Login(c, info, entrance)
19}
20
21func (a *authHelper) MFALogin(c *gin.Context, info baseDto.MFALogin, entrance string) (*baseDto.UserLoginInfo, string, error) {
22 return auth.MFALogin(c, info, entrance)

Callers

nothing calls this directly

Calls 1

LoginMethod · 0.65

Tested by

no test coverage detected