Skip to content

use 401 instead of 500/400 for empty logins #19

@givanse

Description

@givanse

Loggin in without a user or password returns:

http://localhost:4200/api/v1/auths/login 500 (Internal Server Error)

Wrong user or password returns:

http://localhost:4200/api/v1/auths/login 400 (Bad Request)

It should have been a 401 Unauthorized

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