Skip to content

[Bug] Cant login as different user #100

@johncrayon

Description

@johncrayon

Describe the Bug

Cant login as different user. User is created via web ui, bud login will fail.

To Reproduce

  1. Create new user via web ui, enter mail, name and password.
  2. Logout
  3. Try login as new user - authentication failed

Expected Behavior

Be able to login as different user

Environment

  • VoidLLM version: 0.0.19
  • OS: Docker
  • Database: SQLite
  • Upstream provider: None

Logs

[voidllm-voidllm-1] {"time":"2026-06-04T16:47:03.337438656Z","level":"ERROR","source":{"function":"github.com/voidmind-io/voidllm/internal/api/admin.(*Handler).Login","file":"/app/internal/api/admin/auth.go","line":159},"msg":"login: create api key","error":"create api key: constraint failed: FOREIGN KEY constraint failed (787)","request_id":"019e9387-fc7f-71fb-9b2f-24b93a43fb3c"}

Additional Context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions