mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 08:03:47 -05:00
[PR #4779] [MERGED] Duo: use the formatted db email #7132
Reference in New Issue
Block a user
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/dani-garcia/vaultwarden/pull/4779
Author: @Timshel
Created: 7/25/2024
Status: ✅ Merged
Merged: 7/25/2024
Merged by: @dani-garcia
Base:
main← Head:fix/duo📝 Commits (1)
18d40c1Duo: use the formatted db email📊 Changes
2 files changed (+2 additions, -4 deletions)
View changed files
📝
src/api/core/two_factor/duo_oidc.rs(+0 -2)📝
src/api/identity.rs(+2 -2)📄 Description
Was rebasing and had a conflict with the latest addition of
validate_duo_login.Had made the fix for the OpenID PR and never back-ported it (Don't exactly remember the issue and it's buried in the comments, but it was linked to using the non lowercased email).
I think in general it makes more sense if available to use the reference email from the user instead of the non formatted value from the form.
I don't have a Duo account anymore so can't really test it :(.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.