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

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

Open
Rheisen opened this issue May 7, 2018 · 2 comments
Open

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

Rheisen opened this issue May 7, 2018 · 2 comments

Comments

@Rheisen
Copy link

Rheisen commented May 7, 2018

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.

@alcidesjunior
Copy link

me too :/

@aarondmills
Copy link

Anyone have a solution for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants