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

@Abida2024

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.

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