Skip to content

Commit

Permalink
Fix error message (fixes #379)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Jul 28, 2024
1 parent 7d8cd01 commit 8b0c105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export async function apiResetPassword(username) {
}
)
if (resp.status === 404) {
throw new Error('User not found.')
throw new Error('User not found or user has no e-mail address.')
}
if (resp.status === 500) {
throw new Error(
Expand Down

0 comments on commit 8b0c105

Please sign in to comment.