Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/gogs/gogs
/ TwoFactors
Method
TwoFactors
internal/database/database.go:183–185 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
181
}
182
183
func
(db *DB) TwoFactors() *TwoFactorsStore {
184
return
newTwoFactorsStore(db.db)
185
}
186
187
func
(db *DB) Users() *UsersStore {
188
return
newUsersStore(db.db)
Callers
11
IsTwoFactorEnabled
Method · 0.80
LoginPost
Function · 0.80
LoginTwoFactorPost
Function · 0.80
LoginTwoFactorRecoveryCodePost
Function · 0.80
SettingsSecurity
Function · 0.80
SettingsTwoFactorEnable
Function · 0.80
SettingsTwoFactorEnablePost
Function · 0.80
SettingsTwoFactorRecoveryCodes
Function · 0.80
SettingsTwoFactorRecoveryCodesPost
Function · 0.80
SettingsTwoFactorDisable
Function · 0.80
IsTwoFactorEnabled
Method · 0.80
Calls
1
newTwoFactorsStore
Function · 0.85
Tested by
no test coverage detected