Skip to content

User deleted by admin cannot sign in again. #334

Description

@paulrusu8

When I delete a user from the admin app, re-register with the same user information and then try to sign in, I get following error message:
[error] #PID<0.958.0> running SnitchApiWeb.Endpoint (cowboy_protocol) terminated
Server: localhost:3000 (http)
Request: POST /api/v1/login
(exit) an exception was raised: (Ecto.MultipleResultsError) expected at most one result but got 5 in query:
However, the user is deleted in the users list retrieved in the admin app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions