MCPcopy Create free account
hub / github.com/gogs/gogs / AuthenticateUser

Method AuthenticateUser

internal/context/store.go:74–76  ·  view source on GitHub ↗
(ctx context.Context, login, password string, loginSourceID int64)

Source from the content-addressed store, hash-verified

72}
73
74func (*store) AuthenticateUser(ctx context.Context, login, password string, loginSourceID int64) (*database.User, error) {
75 return database.Handle.Users().Authenticate(ctx, login, password, loginSourceID)
76}

Callers

nothing calls this directly

Calls 2

UsersMethod · 0.80
AuthenticateMethod · 0.65

Tested by

no test coverage detected