Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

Bug in /login endpoint setting cookie #5

Description

@Abida2024

There's an issue in line 149 where we check whether the 'user' is none instead of the 'u',
and we also set the user_id cookie to u.id instead of str(u['id]) as in other fields. As a result, I think there's an issue with logging in and out with a user that has already been created.

Activity

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