MCPcopy Index your code
hub / github.com/gotify/server / loginUser

Method loginUser

api/user_test.go:432–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430}
431
432func (s *UserSuite) loginUser() {
433 s.db.CreateUser(&model.User{ID: 1, Name: "user", Admin: false})
434 auth.RegisterAuthentication(s.ctx, nil, 1, "")
435}
436
437func (s *UserSuite) noLogin() {
438 auth.RegisterAuthentication(s.ctx, nil, 0, "")

Calls 2

RegisterAuthenticationFunction · 0.92
CreateUserMethod · 0.65

Tested by

no test coverage detected