Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Debug mode #16

Open
LuisRodriguezLD opened this issue Mar 9, 2023 · 0 comments
Open

Enhancement: Debug mode #16

LuisRodriguezLD opened this issue Mar 9, 2023 · 0 comments

Comments

@LuisRodriguezLD
Copy link

In order to facilitate development, I suggest we add a debugMode: boolean in the settings page.
If it's on, GET /api/passwordless/login?loginToken={tokenFromEmail} will never set is_active to false.

This allows the dev to use the same token multiple times without the need to generate a new one.
Another option would be to use NODE_ENV === 'development'

I'm happy to work on this if you think it fits your vision

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

No branches or pull requests

1 participant