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

Display connection errors on login page #21

Open
ririko5834 opened this issue Sep 23, 2021 · 3 comments
Open

Display connection errors on login page #21

ririko5834 opened this issue Sep 23, 2021 · 3 comments

Comments

@ririko5834
Copy link

I think that when you type MongoDB login details it should try to connect to MongoDB. If the connection was not successful, display an error on the login page and don't let the user go to the dashboard.

@ririko5834
Copy link
Author

ririko5834 commented Sep 23, 2021

Now you can fill in fake not working MongoDB data, and it will give you access to the dashboard.

Like this:
image

When you click on login, you can access dashboard
image
When you go to visualize database, an error is displayed:
image

The error should be displayed on the login page.

@SamuelTallet
Copy link
Owner

I agree. Connection errors need to be handled earlier.

@ririko5834
Copy link
Author

Yeah, then it's confusing for users why they can access the dashboard when they have provided fake connection details.

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

2 participants