[PR #6693] PM-33893: bug: Crash caused by empty credential password #12936

Closed
opened 2026-04-11 03:54:06 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6693

State: closed
Merged: Yes


🎟️ Tracking

PM-33893

📔 Objective

This PR addresses a crash that occurs when the password is null or empty.

This is because the PasswordCredential requires the password to be populated.

    init {
        require(password.isNotEmpty()) { "password should not be empty" }
    }
**Original Pull Request:** https://github.com/bitwarden/android/pull/6693 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking [PM-33893](https://bitwarden.atlassian.net/browse/PM-33893) ## 📔 Objective This PR addresses a crash that occurs when the password is null or empty. This is because the `PasswordCredential` requires the password to be populated. ```kotlin init { require(password.isNotEmpty()) { "password should not be empty" } } ``` [PM-33893]: https://bitwarden.atlassian.net/browse/PM-33893?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
GiteaMirror added the pull-request label 2026-04-11 03:54:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12936