Skip to content

Incorrect user page. error message doesn't contain user name #354

Closed

Description

@v-scharf

version https://github.com/opencloud-eu/desktop/releases/tag/v2.0.0-rc.4

Steps:

  • start opencloud
  • alan connects their account to the desktop and creates data
  • admin deletes alan and creates a new alan with the same credentials
  • new alan connects to the desktop using the old account

or docker compose down -v and start again docker compose up -v

Actual:
Image

in this case restart doesn't work and error message doesn't help to understand problem

Activity

  1. TheOneRing commented on Jun 30, 2025

    @TheOneRing
    Contributor

    Hmm I can fix the error message, but in this specific case you wold get.
    "You logged in with user Alan Turin, but mist log in with Alan Turing" because the use name is the same but the id changed.

  2. v-scharf commented on Jun 30, 2025

    @v-scharf
    ContributorAuthor

    Hmm I can fix the error message, but in this specific case you wold get. "You logged in with user Alan Turin, but mist log in with Alan Turing" because the use name is the same but the id changed.

    I believe this message will be relevant and useful if the user has two accounts: “You are logged in as Alan Turin,but mist log in with Dennis Ritchie Turing.”

  3. rhafer commented on Jul 1, 2025

    @rhafer
    Member

    Hmm I can fix the error message, but in this specific case you wold get. "You logged in with user Alan Turin, but mist log in with Alan Turing" because the use name is the same but the id changed.

    That isn't exactly a helpful error message either, I guess. But it's a rather specific case. A user being re-created with the same username but a different id that is then trying to login using the same device as the old sounds highly unlikely. (Or just like some kind of development/test setup)

    I believe this message will be relevant and useful if the user has two accounts: “You are logged in as Alan Turin,but mist log in with Dennis Ritchie Turing.”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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