mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[PR #1790] [MERGED] Fix exception handling in argon2 for mismatching passwords #2294
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/1790
Author: @Arvedui
Created: 11/12/2019
Status: ✅ Merged
Merged: 12/3/2019
Merged by: @tonioo
Base:
master← Head:argon2_fix_password_mismatch📝 Commits (1)
672a702Fix exception handling in argon2 for mismatching passwords📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
modoboa/core/password_hashers/advanced.py(+2 -1)📄 Description
Description of the issue/feature this PR addresses:
Fix exception handling in argon2 for mismatching passwords
Current behavior before PR:
When the argon2 hasher is used and the given password does not match the hash, an "internal error" occurs.
Desired behavior after PR is merged:
The proper "invalid username or password" message is shown and now redirect to the error page happens.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.