[GH-ISSUE #215] Incorrect return type for wrong password via cli #110

Closed
opened 2026-03-03 01:24:59 +03:00 by kerem · 2 comments
Owner

Originally created by @seanfarley on GitHub (Oct 10, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/215

It seems the server implemented here doesn't return the correct type so that the cli can distinguish an incorrectly typed password. I reported this in the bitwarden/cli project https://github.com/bitwarden/cli/issues/28 but the gist is:

$ bw login
? Master password: [hidden]
The model state is invalid

Instead, the output should be Username or password is incorrect. Try again.

Originally created by @seanfarley on GitHub (Oct 10, 2018). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/215 It seems the server implemented here doesn't return the correct type so that the cli can distinguish an incorrectly typed password. I reported this in the bitwarden/cli project https://github.com/bitwarden/cli/issues/28 but the gist is: ``` $ bw login ? Master password: [hidden] The model state is invalid ``` Instead, the output should be `Username or password is incorrect. Try again.`
kerem 2026-03-03 01:24:59 +03:00
Author
Owner

@dani-garcia commented on GitHub (Oct 10, 2018):

This should be fixed now with the latest commit

<!-- gh-comment-id:428688189 --> @dani-garcia commented on GitHub (Oct 10, 2018): This should be fixed now with the latest commit
Author
Owner

@seanfarley commented on GitHub (Oct 10, 2018):

Thanks!

<!-- gh-comment-id:428693835 --> @seanfarley commented on GitHub (Oct 10, 2018): Thanks!
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/vaultwarden#110
No description provided.