MCPcopy 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
183func (db *DB) TwoFactors() *TwoFactorsStore {
184 return newTwoFactorsStore(db.db)
185}
186
187func (db *DB) Users() *UsersStore {
188 return newUsersStore(db.db)

Callers 11

IsTwoFactorEnabledMethod · 0.80
LoginPostFunction · 0.80
LoginTwoFactorPostFunction · 0.80
SettingsSecurityFunction · 0.80
SettingsTwoFactorEnableFunction · 0.80
SettingsTwoFactorDisableFunction · 0.80
IsTwoFactorEnabledMethod · 0.80

Calls 1

newTwoFactorsStoreFunction · 0.85

Tested by

no test coverage detected