Skip to content

handle getCurrentUser() to return the logged-in user, not just the first user #167

@MennaSrour

Description

@MennaSrour

In both CsvAuthDataSource and MongoAuthDataSource, the getCurrentUser() method currently returns the first user from the data source:

Image

Image

and in LoginManagementUI:
Image

After a user logs in successfully, the user stored in Session.currentUser is always the first user instead of the user who actually logged in

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