Address ENG-10261.
Replaced user_not_found with custom error message that doesn't trigger the "Invalid username or password" alert.
Details
Details
- Mocked GetKeyserverKeys to always throw new Error('user_not_found')
- Before: invalid credentials alert was shown
- After: unknown error modal is shown
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/keyserver-conn/keyserver-auth.js | ||
---|---|---|
158 ↗ | (On Diff #47293) | Should we show a different alert in such a case? |
lib/keyserver-conn/keyserver-auth.js | ||
---|---|---|
158 ↗ | (On Diff #47293) | This might be worth considering when implementing support for multiple keyservers. |