Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gogs/gogs
/ IsErrTwoFactorNotFound
Function
IsErrTwoFactorNotFound
internal/database/two_factors.go:77–79 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
IsErrTwoFactorNotFound(err error) bool {
78
return
errors.As(err, &ErrTwoFactorNotFound{})
79
}
80
81
func
(err ErrTwoFactorNotFound) Error() string {
82
return
fmt.Sprintf(
"2FA does not found: %v"
, err.args)
Callers
1
SettingsSecurity
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected