[GH-ISSUE #1164] Login attempt while the DB is not connected raises "Invalid username or password" #594

Closed
opened 2026-02-25 21:35:27 +03:00 by kerem · 3 comments
Owner

Originally created by @mercihabam on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1164

Originally assigned to: @GedeonTS on GitHub.

This message misdirects users on what the issue to be addressed is. I think there should be a message even before entering the login page indicating the disconnection of the database.
The same goes for different CLI scripts that interact with the database, one thing I've seen as output is: An error occurred. Without any further context or details, it is difficult for the user to know what action should be taken.

Originally created by @mercihabam on GitHub (Aug 13, 2024). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1164 Originally assigned to: @GedeonTS on GitHub. This message misdirects users on what the issue to be addressed is. I think there should be a message even before entering the login page indicating the disconnection of the database. The same goes for different CLI scripts that interact with the database, one thing I've seen as output is: **An error occurred**. Without any further context or details, it is difficult for the user to know what action should be taken.
kerem closed this issue 2026-02-25 21:35:27 +03:00
Author
Owner

@marclaporte commented on GitHub (Aug 13, 2024):

Thank you for the info.

Which version of Cypht?

<!-- gh-comment-id:2286931193 --> @marclaporte commented on GitHub (Aug 13, 2024): Thank you for the info. Which version of Cypht?
Author
Owner

@mercihabam commented on GitHub (Aug 14, 2024):

On latest master.

<!-- gh-comment-id:2289033110 --> @mercihabam commented on GitHub (Aug 14, 2024): On latest master.
Author
Owner

@marclaporte commented on GitHub (Aug 14, 2024):

@GedeonTS Can you please take a look?

<!-- gh-comment-id:2289050891 --> @marclaporte commented on GitHub (Aug 14, 2024): @GedeonTS Can you please take a look?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#594
No description provided.