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
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/keyserver-conn/keyserver-auth.js | ||
---|---|---|
158 | Should we show a different alert in such a case? |
lib/keyserver-conn/keyserver-auth.js | ||
---|---|---|
158 | This might be worth considering when implementing support for multiple keyservers. |
Should we show a different alert in such a case?