Thanks to visit codestin.com
Credit goes to github.com

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

Can't customize error messages in self.from_token_request #213

@Rheisen

Description

@Rheisen

Currently it seems you can only return nothing or a generic knock error, but nothing about why the request actually failed.

I'd like to be able to include error messages for when a token is requested, but a user isn't activated for example.

Or since I authenticate by phone number or email an error message when the identifier doesn't find a record in the database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions