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

Redirect or do something if the authentication fails #117

Open
Mica-CRT opened this issue Jun 2, 2022 · 0 comments
Open

Redirect or do something if the authentication fails #117

Mica-CRT opened this issue Jun 2, 2022 · 0 comments

Comments

@Mica-CRT
Copy link

Mica-CRT commented Jun 2, 2022

Hi!, i tried to install this repo on my setup and works very well; but i noticed that if the authentication fails (such as incorrect passwd/user or an inexistent account) the page cause a 500 internal error, how can i do a possible redirect to the eventual log-in page or a personalized log-in error page?
I tried to check if some connection's/authentication's method return a "false" value or something like this and do some conditions but the browser still show me a 500 internal error.

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